)]}'
{
  "commit": "47c57b2f5ce7a355f6eb04406d9add804f11d765",
  "tree": "541fbb32ee8d7f7ec814ff559cd5d0718ea87f50",
  "parents": [
    "d08ddace85235335706179d103131c219371c7a5"
  ],
  "author": {
    "name": "UebelAndre",
    "email": "github@uebelandre.com",
    "time": "Sun Nov 08 15:06:44 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Nov 08 15:06:44 2026 +0000"
  },
  "message": "Fetch each component of a Rust release on demand (#4397)\n\nThis change splits a toolchain\u0027s downloads by component so a build only\nfetches what it uses, and extracts the compiler once per execution\nplatform instead of once per target triple.\n\n`rust_toolchain_tools_repository` takes `components`, the archives to\ndownload, and labels for the repositories holding the rest.\n`rust_repository_set` creates, per channel:\n\n* `\u003cname\u003e__\u003cchannel\u003e__rustc`: the compiler, the tools beside it and the\nstandard library of the execution platform, shared by every target\ntriple.\n* `\u003cname\u003e__\u003cchannel\u003e__cargo` and `\u003cname\u003e__\u003cchannel\u003e__clippy`: fetched\nonly when a `cargo_toolchain` or `clippy_toolchain` is analyzed.\n* `\u003cname\u003e__\u003ctarget_triple\u003e__\u003cchannel\u003e_tools`: the toolchain declarations\nand, for a target other than the execution platform, its standard\nlibrary.\n\nThe hub and proxy repositories are unchanged. `rust_host_tools` stays in\none repository because crate_universe reads `bin/cargo` from it by path.\n\nA rustc driver loads `librustc_driver` relative to its own real path, so\nthe Clippy repository links the compiler\u0027s `lib/` (and its DLLs on\nWindows) beside `clippy-driver` when it is fetched. The generated\n`rust_toolchain` drops the deprecated `cargo` attribute, which would\nhave fetched Cargo for every build; `$(CARGO)` comes from the\n`cargo_toolchain`. The default tool templates of `crates_repository` and\n`cargo_bootstrap_repository` follow the new names.\n\nA `rust_library` build from an empty output base now fetches the\ncompiler repository, the declarations repository and the hub, nothing\nelse.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "64d0090c578c90b4c670b162b356ff478d57752a",
      "old_mode": 33188,
      "old_path": "cargo/private/cargo_bootstrap.bzl",
      "new_id": "d32b39d412e70e28f06cb4ba9774c1d2672f304e",
      "new_mode": 33188,
      "new_path": "cargo/private/cargo_bootstrap.bzl"
    },
    {
      "type": "modify",
      "old_id": "641314d7eda6a2a4b40d3c0be1535aca02bc070e",
      "old_mode": 33188,
      "old_path": "crate_universe/private/crates_repository.bzl",
      "new_id": "20b380535f5ea09a793de745664ea257dd16a836",
      "new_mode": 33188,
      "new_path": "crate_universe/private/crates_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "d64992e82204deb2d8bcedc506c6028c880e0912",
      "old_mode": 33188,
      "old_path": "rust/extensions.bzl",
      "new_id": "5ddf63dc67273b12b4d56484e9dbdc6887603fd8",
      "new_mode": 33188,
      "new_path": "rust/extensions.bzl"
    },
    {
      "type": "modify",
      "old_id": "756bdad881ff20857ab59c0153b035db1b2b2fd2",
      "old_mode": 33188,
      "old_path": "rust/private/repositories.bzl",
      "new_id": "ca65acb1b7c080669ce02f144ac71b63a02b82ed",
      "new_mode": 33188,
      "new_path": "rust/private/repositories.bzl"
    },
    {
      "type": "modify",
      "old_id": "84a51136fbcf46c67f02b61cde6c1b7d6031c59e",
      "old_mode": 33188,
      "old_path": "rust/private/repository_utils.bzl",
      "new_id": "2cc9577c1cb9a8b8fe010468fb6fb1f465dec911",
      "new_mode": 33188,
      "new_path": "rust/private/repository_utils.bzl"
    },
    {
      "type": "modify",
      "old_id": "5cf18bea02aa5a3a453bca989628a6178b31852f",
      "old_mode": 33188,
      "old_path": "rust/private/sysroot.bzl",
      "new_id": "6991368d1b03edacf5e30095f4d8e5436cbcf381",
      "new_mode": 33188,
      "new_path": "rust/private/sysroot.bzl"
    },
    {
      "type": "modify",
      "old_id": "16a9b459fbd0d64ff8f7b717a012ed36c7c78678",
      "old_mode": 33188,
      "old_path": "test/unit/companion_toolchains/companion_toolchains_test.bzl",
      "new_id": "fc8c77c065aa2622f2e389d4ac2fedc203936432",
      "new_mode": 33188,
      "new_path": "test/unit/companion_toolchains/companion_toolchains_test.bzl"
    },
    {
      "type": "modify",
      "old_id": "360a35f123ae4671df60134a4d7c058c25242214",
      "old_mode": 33188,
      "old_path": "test/unit/toolchain_make_variables/toolchain_make_variables_test.bzl",
      "new_id": "2c2816fd574408fed7c3a64322f4b7c8d62e10c8",
      "new_mode": 33188,
      "new_path": "test/unit/toolchain_make_variables/toolchain_make_variables_test.bzl"
    }
  ]
}
