)]}'
{
  "commit": "e995f478eee163c46cb8ff8e2f97f4b7dca481cb",
  "tree": "979c8fabfd3554a0711e60ff87773ac50e23623e",
  "parents": [
    "4139da8f1b76d327f8647434f2d6189d704a3069"
  ],
  "author": {
    "name": "Randolf J.",
    "email": "me@jrandolf.com",
    "time": "Sun Sep 27 17:58:05 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Sep 27 17:58:05 2026 +0000"
  },
  "message": "Honor build-script execution constraints in compilation and run actions (#4270)\n\n`cargo_build_script(exec_compatible_with \u003d ...)` currently constrains\nthe generated script target but not both actions that compile and run\nit. A build script can therefore be scheduled on an execution platform\nthat the caller explicitly excluded.\n\nApply the constraint to the generated Rust binary and the build-script\nrun target. The analysis regression checks both stages and fails when\neither propagation is removed.\n\nVerification:\n`//cargo/tests/cargo_build_script/compatible_with:exec_constraints_test`\nand the owning build-script test suite pass on macOS. Buildifier and\n`git diff --check` pass.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "95cec14f93062e776ddb13c416ea3d2708008040",
      "old_mode": 33188,
      "old_path": "cargo/private/cargo_build_script_wrapper.bzl",
      "new_id": "2c7e040eeffcb9812e9ae9d985d6af2ec981ff9e",
      "new_mode": 33188,
      "new_path": "cargo/private/cargo_build_script_wrapper.bzl"
    },
    {
      "type": "modify",
      "old_id": "c3b5b9f733a352910c31e363ed2560f5677a7b8c",
      "old_mode": 33188,
      "old_path": "cargo/tests/cargo_build_script/compatible_with/BUILD.bazel",
      "new_id": "65a6c9ad381b197fb2a22882dcc8200f5b15daf8",
      "new_mode": 33188,
      "new_path": "cargo/tests/cargo_build_script/compatible_with/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "92db74bed3224d22609eebb9f2c7d5afd3a0932c",
      "new_mode": 33188,
      "new_path": "cargo/tests/cargo_build_script/compatible_with/exec_constraints_test.bzl"
    }
  ]
}
