)]}'
{
  "commit": "6c5cc322721c5783f853eee6c0c5f708aea14c1e",
  "tree": "0ce2f45699a87bd610f06253f5866e674507ddda",
  "parents": [
    "5786455b5c3fc189cb907ef7d29ff3e895d589ed"
  ],
  "author": {
    "name": "Jorge Gorbe Moya",
    "email": "slack@codemaniacs.com",
    "time": "Mon Jul 13 08:28:45 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jul 13 08:28:45 2026"
  },
  "message": "Move flags passed in `rust_flags` near the end of the rustc invocation. (#4135)\n\nThis allows callers of rustc_compile_action to override the default\nflags.\n\nThe motivating example for making this change was some path remapping\ndone by Crubit\n(https://github.com/google/crubit/blob/685a46aabbdf6552803c5bd77da6628008d0d245/rs_bindings_from_cc/bazel_support/compile_rust.bzl#L100).\nPR #4106 added another `--remap-path-prefix` flag after the code that\nadds `rust_flags` to the rustc invocation, and the new remapping took\nprecedence.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "02bd312dcec58225520c23d1e7d68da8b0b3d1a2",
      "old_mode": 33188,
      "old_path": "rust/private/rustc.bzl",
      "new_id": "d6c9c71a1ce85f8d7ac4b3377a07aabfb31c9b4c",
      "new_mode": 33188,
      "new_path": "rust/private/rustc.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7787a1264229a7a699c84cd28113b5b6b98b4626",
      "new_mode": 33188,
      "new_path": "test/unit/rustc_flag_ordering/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "225d7df74e6529c2377ddfd941d94c21babc8edb",
      "new_mode": 33188,
      "new_path": "test/unit/rustc_flag_ordering/lib.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "99203c1d5b6ae64168e6c61b1bfb1c34444f8a95",
      "new_mode": 33188,
      "new_path": "test/unit/rustc_flag_ordering/rustc_flag_ordering_test.bzl"
    }
  ]
}
