)]}'
{
  "commit": "e7d2e3d37d1a1c4842d673e40c82d10901b17daf",
  "tree": "6c3bcfe6242f57e359f96624d824953bb22152ae",
  "parents": [
    "c290daa1e5274a52e54a0f49e31bd70192abc606"
  ],
  "author": {
    "name": "Aleksey Kliger",
    "email": "alklig@microsoft.com",
    "time": "Thu Jul 09 15:39:35 2026 -0400"
  },
  "committer": {
    "name": "Aleksey Kliger",
    "email": "alklig@microsoft.com",
    "time": "Thu Jul 09 16:21:35 2026 -0400"
  },
  "message": "bootstrap: expand \u0027@argfile\u0027 arguments to rustc shim\n\nWhen cargo invokes `rustc`, if the command line exceeds some system defined limit, `cargo`\nwill try again and pass the arguments in an argfile.\n\nWhen the bootstrap rustc shim tries to detect `--target`, it does not account for\n`@argfile` arguments.  As a result, the shim doesn\u0027t find `--target` and incorrectly sets\n`is_build_script` to true, as well as passing the `RUSTC_HOST_FLAGS` to the underlying\ncompiler\n\nThis PR makes the shim read all the arguments from every `@argfile`.\n\nPrevious work already updated the shim to use `ArgFileCommand` to pass arguments down to\nthe underlying `rustc`.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ca25c2b132206cb094345bb4ce005cc508bd7cd7",
      "old_mode": 33188,
      "old_path": "src/bootstrap/src/bin/rustc.rs",
      "new_id": "c8aff10b6355beb489128c63d3740b4802c417ff",
      "new_mode": 33188,
      "new_path": "src/bootstrap/src/bin/rustc.rs"
    },
    {
      "type": "modify",
      "old_id": "ef2462af952e1e0418eced0157f81845c66aa008",
      "old_mode": 33188,
      "old_path": "src/bootstrap/src/bin/rustdoc.rs",
      "new_id": "fd048d138e09005c34e18e69f89c13d99b862a41",
      "new_mode": 33188,
      "new_path": "src/bootstrap/src/bin/rustdoc.rs"
    },
    {
      "type": "modify",
      "old_id": "d620cc4bbb6b4fc05bab6f2ae69cbaa6a03ede11",
      "old_mode": 33188,
      "old_path": "src/bootstrap/src/utils/shared_helpers.rs",
      "new_id": "78af70ddb0f420dbbf27167c814bae6e22e4118d",
      "new_mode": 33188,
      "new_path": "src/bootstrap/src/utils/shared_helpers.rs"
    }
  ]
}
