)]}'
{
  "commit": "97e2922a84c5145ce9bfd147d42e451c4346ac89",
  "tree": "ea5712e2095f201d59d4ccf0b90735f174819159",
  "parents": [
    "beab92622454cca1a693f0ef88a497cd5f766192"
  ],
  "author": {
    "name": "David Zbarsky",
    "email": "dzbarsky@gmail.com",
    "time": "Tue Jun 30 20:45:40 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Jun 30 20:46:23 2026 -0700"
  },
  "message": "Add Windows ThinLTO arguments\n\nCopybara Import from https://github.com/bazelbuild/rules_cc/pull/747\n\nBEGIN_PUBLIC\nAdd Windows ThinLTO arguments (#747)\n\nWindows rule-based toolchains currently reuse ELF LLD ThinLTO plugin options and `/dev/null`, which are not valid for LLD\u0027s COFF driver or Windows backend actions. This change selects the LLD COFF ThinLTO options, uses `/start-lib` and `/end-lib` for object-file groups, and uses `NUL` for indexless Windows backend actions.\n\nThis allows Windows toolchains that use LLD and provide `supports_start_end_lib` to enable rules_cc distributed ThinLTO.\n\nCloses #747\nEND_PUBLIC\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/rules_cc/pull/747 from dzbarsky:zbarsky/win-lto fad3b18c5d6d3d69a8825d3888470ee8c4df91d3\nPiperOrigin-RevId: 940818026\nChange-Id: I11c6542a1020983b20e3490af2b2e49b388105ac\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "588290342035ef0a7e37e43e1871ae320a598cb8",
      "old_mode": 33188,
      "old_path": "cc/private/link/lto_backends.bzl",
      "new_id": "2cef9da1b0a86ee4a71524830b8075d73b87bc9e",
      "new_mode": 33188,
      "new_path": "cc/private/link/lto_backends.bzl"
    },
    {
      "type": "modify",
      "old_id": "60e59f746324ed475ab325199f19a0b95140b2b7",
      "old_mode": 33188,
      "old_path": "cc/toolchains/args/libraries_to_link/BUILD",
      "new_id": "ebfec9a443461bfa59e401c2842c5321aa314fcf",
      "new_mode": 33188,
      "new_path": "cc/toolchains/args/libraries_to_link/BUILD"
    },
    {
      "type": "modify",
      "old_id": "be6ea280496b6c4daf6a8b18057e4fb4e88f2e6f",
      "old_mode": 33188,
      "old_path": "cc/toolchains/args/thin_lto/BUILD",
      "new_id": "40bbc9ff944b15e13335536a9be54dcf55c20ef4",
      "new_mode": 33188,
      "new_path": "cc/toolchains/args/thin_lto/BUILD"
    },
    {
      "type": "modify",
      "old_id": "00c8dd419e2193a85de7ca3e44ca14131e31a4c8",
      "old_mode": 33188,
      "old_path": "tests/rule_based_toolchain/legacy_features_as_args/BUILD",
      "new_id": "aae1dfb7f942df647f9efe3bed3bb01e41c041ca",
      "new_mode": 33188,
      "new_path": "tests/rule_based_toolchain/legacy_features_as_args/BUILD"
    },
    {
      "type": "modify",
      "old_id": "cb271a5226f677ce65e9e972495acce088dd620e",
      "old_mode": 33188,
      "old_path": "tests/rule_based_toolchain/legacy_features_as_args/compare_feature.bzl",
      "new_id": "83503d770ca14b640dd27198fe520e8150a30e65",
      "new_mode": 33188,
      "new_path": "tests/rule_based_toolchain/legacy_features_as_args/compare_feature.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0a1839a74c829aa45505ba9d4b93309a7bcf2d29",
      "new_mode": 33188,
      "new_path": "tests/rule_based_toolchain/legacy_features_as_args/goldens/windows/libraries_to_link.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a2f5bf759197cd8409bc17146bf31730ffd1dd10",
      "new_mode": 33188,
      "new_path": "tests/rule_based_toolchain/legacy_features_as_args/goldens/windows/thin_lto.bzl"
    }
  ]
}
