)]}'
{
  "commit": "fc6ee8b5bdfc24a9b2bf1bb204ce842440ccf587",
  "tree": "9786432a12c062bf8d6b600e31c347ef9b4a7a7b",
  "parents": [
    "51eb1ec487c4bbb40a1a089d9341e14b2a91bf6a"
  ],
  "author": {
    "name": "Hugo Beauzée-Luyssen",
    "email": "hugo@beauzee.fr",
    "time": "Fri Oct 16 09:37:14 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Oct 16 09:37:14 2026 +0000"
  },
  "message": "Add a dlltool attribute to rust_toolchain (#4330)\n\n`dlltool_path_from_linker_path` derives `dlltool` from the\ncc_toolchain\u0027s linker path, which assumes a MinGW binutils layout.\nToolchains that name it differently (`llvm-dlltool` in hermetic-llvm) or\ndon\u0027t ship it next to the linker can\u0027t build non-MSVC Windows targets.\n\nThis adds an optional `dlltool` attribute to `rust_toolchain`, also\nexposed on the `rust.toolchain` and `rust.repository_set` extension\ntags. When set, it\u0027s passed with `--codegen\u003ddlltool\u003d` and added to the\nRustc action inputs. When unset, the current behavior is kept.\n\nFixes #4315",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5e77821146e039d635d0b927989d185f99e4380e",
      "old_mode": 33188,
      "old_path": "rust/extensions.bzl",
      "new_id": "d2ceb9bd1791db7e9dabfaa2b1031750f3e7d068",
      "new_mode": 33188,
      "new_path": "rust/extensions.bzl"
    },
    {
      "type": "modify",
      "old_id": "1dd473004412cd28598f292844058ef8baaf936b",
      "old_mode": 33188,
      "old_path": "rust/private/known_shas.bzl",
      "new_id": "d8462a83c5f3f971b72d74eb1ac2260731d5b89c",
      "new_mode": 33188,
      "new_path": "rust/private/known_shas.bzl"
    },
    {
      "type": "modify",
      "old_id": "4687091cd858c5ebe9ae8113c37c6de285552ebd",
      "old_mode": 33188,
      "old_path": "rust/private/repositories.bzl",
      "new_id": "7ff5876d701f81d4606f26264022e65ab441747c",
      "new_mode": 33188,
      "new_path": "rust/private/repositories.bzl"
    },
    {
      "type": "modify",
      "old_id": "59b5a59e33a4ff7002c404d2c38e540653427041",
      "old_mode": 33188,
      "old_path": "rust/private/repository_utils.bzl",
      "new_id": "3e9f915273a585410d5bbaca8893512baa028b49",
      "new_mode": 33188,
      "new_path": "rust/private/repository_utils.bzl"
    },
    {
      "type": "modify",
      "old_id": "d3d9d1e981e3d63a81df6fdab8fec28ac890a2d6",
      "old_mode": 33188,
      "old_path": "rust/private/rustc.bzl",
      "new_id": "72d776f9b5a50c55bae53a26437618a7bf23ee28",
      "new_mode": 33188,
      "new_path": "rust/private/rustc.bzl"
    },
    {
      "type": "modify",
      "old_id": "b31e5e8a7e6d0589f713f467727c70ea998072a2",
      "old_mode": 33188,
      "old_path": "rust/private/toolchain.bzl",
      "new_id": "db84effc93ec9135bb6e584b18406858bd6df16b",
      "new_mode": 33188,
      "new_path": "rust/private/toolchain.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "69da9f18f94d76cf10ac28e3d66d99dcf511414d",
      "new_mode": 33188,
      "new_path": "test/unit/dlltool/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cda08f3a8b6419b961ebbd433d6b106ba4b15ee2",
      "new_mode": 33188,
      "new_path": "test/unit/dlltool/dlltool_test.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "421e195a2fbd9936156a21209212ef653fa92b26",
      "new_mode": 33188,
      "new_path": "test/unit/dlltool/lib.rs"
    },
    {
      "type": "modify",
      "old_id": "6ef1499774ee6af426e196e8bb1775827e226a24",
      "old_mode": 33188,
      "old_path": "util/fetch_shas/fetch_shas_TOOLS.txt",
      "new_id": "5c1f65a7785869b96c96747568ef0b6c0aa89157",
      "new_mode": 33188,
      "new_path": "util/fetch_shas/fetch_shas_TOOLS.txt"
    }
  ]
}
