)]}'
{
  "commit": "4090b7d2d2cb4f3e8ef448aeaca55c75a55b41ca",
  "tree": "7dbff550dcb63821c1e61fe9c5b342f798bfd021",
  "parents": [
    "2d123d0dfdc67af1dcbabd178be8073726b67524"
  ],
  "author": {
    "name": "danakj",
    "email": "danakj@chromium.org",
    "time": "Tue Oct 24 17:49:01 2023 +0000"
  },
  "committer": {
    "name": "Dawn LUCI CQ",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Oct 24 17:49:01 2023 +0000"
  },
  "message": "Add support for the Rust toolchain\n\nTo enable Rust build targets in standalone dawn:\n- Add `checkout_rust: True` to the gclient `custom_vars` section. As\n  it defaults to false:\n    \"custom_vars\": {\n      \"checkout_rust\": True,\n    }\n- Set `enable_rust \u003d true` in GN args, as it also defaults to false.\n- Run gclient sync\n\nThen building `rust_build_tests` will build test targets in\n//build/rust/tests, which rely on and verify the functioning of\nthe Rust toolchain.\n\nMake new rust targets by using the GN templates in //build/rust.\n\nIn the chromium build, Rust build targets that use the templates\nfrom //build/rust will just work.\n\n------\n\nDependent steps that are already done:\n1) The //tools/rust repo needs to be created in\n   https://bugs.chromium.org/p/chromium/issues/detail?id\u003d1494128\n2) Then, we should remove the checkout_tools_rust DEPS var,\n3) And update the tools/clang and tools/rust revisions so that they\n   are compatible.\n4) Roll the chromium //build changes that were required in from\n   https://chromium-review.googlesource.com/c/chromium/src/+/4956874\n   and\n   https://chromium-review.googlesource.com/c/chromium/src/+/4966201\n5) The clang roll causes clang-cl to warn on use of offsetof, but it\n   does not define __GNUC__, which is used to remove the warning. So\n   also remove the warning when __clang__ is defined.\n\nBug: chromium:1494118\nChange-Id: I5e280090ec950a1da9f91e2e4717925ce4b2eaa6\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/157120\nReviewed-by: Austin Eng \u003cenga@chromium.org\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nReviewed-by: Ben Clayton \u003cbclayton@google.com\u003e\nCommit-Queue: danakj \u003cdanakj@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "80941cc1b975fb167446f3e36de825e77c4aa639",
      "old_mode": 33188,
      "old_path": ".gitignore",
      "new_id": "b268054df5b6b63c7217bf32a5e2c2de724a67eb",
      "new_mode": 33188,
      "new_path": ".gitignore"
    },
    {
      "type": "modify",
      "old_id": "5db482c253769687388578ff567d8542faa342b4",
      "old_mode": 33188,
      "old_path": ".gitmodules",
      "new_id": "7cfc0f362aea14616e53af27e5f88596caf90b7c",
      "new_mode": 33188,
      "new_path": ".gitmodules"
    },
    {
      "type": "modify",
      "old_id": "7493734db1b6146cf92dc14960084f4d0ba33817",
      "old_mode": 33188,
      "old_path": "BUILD.gn",
      "new_id": "c111d1ffd812d8d888fcee9a4e0de95e65035623",
      "new_mode": 33188,
      "new_path": "BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "eec063db0ca4a6138ede4fb2ea514f8d6233e2cd",
      "old_mode": 33188,
      "old_path": "DEPS",
      "new_id": "682db69734f4038eb10b6429b80bc0e4e3b360a0",
      "new_mode": 33188,
      "new_path": "DEPS"
    },
    {
      "type": "modify",
      "old_id": "5885d3c24833ad72845a52a1b913a2b8bc651b56",
      "old_mode": 57344,
      "old_path": "build",
      "new_id": "e2f4d00875f7d00fad39d5af2c6869ac7c7413cc",
      "new_mode": 57344,
      "new_path": "build"
    },
    {
      "type": "modify",
      "old_id": "4bba53bbf8e424b91648c6050ebca842aef9ed68",
      "old_mode": 33188,
      "old_path": "generator/templates/api_cpp.cpp",
      "new_id": "e68680ee3da0e3ab8b9e37785d66fac29dafd57d",
      "new_mode": 33188,
      "new_path": "generator/templates/api_cpp.cpp"
    },
    {
      "type": "modify",
      "old_id": "002e17a055a621fc0cf648e467c2e09313c4771b",
      "old_mode": 33188,
      "old_path": "generator/templates/dawn/native/api_structs.cpp",
      "new_id": "bd0f3a3ce661ed16c7f9cd728d7b13b11b6bea85",
      "new_mode": 33188,
      "new_path": "generator/templates/dawn/native/api_structs.cpp"
    },
    {
      "type": "modify",
      "old_id": "52d96021389725121c6919b0337ebf16b4a73b8d",
      "old_mode": 33188,
      "old_path": "generator/templates/dawn/wire/WireCmd.cpp",
      "new_id": "9e63d7b5b01ca7d776af17acdd62eef2f2185110",
      "new_mode": 33188,
      "new_path": "generator/templates/dawn/wire/WireCmd.cpp"
    },
    {
      "type": "modify",
      "old_id": "8f75392b4aa947fb55c7c206b36804229595e4da",
      "old_mode": 57344,
      "old_path": "tools/clang",
      "new_id": "86aed39db276fb876a2b98c93cc6ff8940377903",
      "new_mode": 57344,
      "new_path": "tools/clang"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7052bd3aa0eba2d3d701b7a76219e3b04770540e",
      "new_mode": 57344,
      "new_path": "tools/rust"
    }
  ]
}
