)]}'
{
  "commit": "feb90eb90cc0902e20848cdf3a7a0e1c288a712f",
  "tree": "7d84123b5dbf4055fb3386e19184ebe236ec7bdd",
  "parents": [
    "eedda259fbbb5320faa0903ec3bac9ff3d4eedbe"
  ],
  "author": {
    "name": "David Zbarsky",
    "email": "dzbarsky@gmail.com",
    "time": "Mon Apr 27 13:46:43 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Apr 27 13:46:43 2026 -0400"
  },
  "message": "perf: Only resolve cc toolchain for rules that will need it (#4593)\n\nThis PR is a re-write of\nhttps://github.com/bazel-contrib/rules_go/pull/4591 which was incorrect\n- the cc toolchain must be resolved by the rule owning the action that\nuses it, it cannot be resolved by a dependent rule (CgoContextData) as\nthat will not work correctly when there are multiple execution\nplatforms. See\nhttps://bazelbuild.slack.com/archives/CDBP88Z0D/p1776380536174449 for\ndiscussion",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d2faa7ef7d0b8556de230dba46e58db4c3e8d727",
      "old_mode": 33188,
      "old_path": "extras/gomock.bzl",
      "new_id": "da409637955cf6801418843ed28e21a78d9cb22c",
      "new_mode": 33188,
      "new_path": "extras/gomock.bzl"
    },
    {
      "type": "modify",
      "old_id": "0bd1734ea9b2c6ec3457c405065c2f37bd3acb55",
      "old_mode": 33188,
      "old_path": "go/private/context.bzl",
      "new_id": "f054253963b126e2910ad7c55b2c1968d9711262",
      "new_mode": 33188,
      "new_path": "go/private/context.bzl"
    },
    {
      "type": "modify",
      "old_id": "261c571faed03dde0bc10b9b026b3f9666c16219",
      "old_mode": 33188,
      "old_path": "go/private/rules/info.bzl",
      "new_id": "e06e54002477d899931f10255c46f5e6d03476e8",
      "new_mode": 33188,
      "new_path": "go/private/rules/info.bzl"
    },
    {
      "type": "modify",
      "old_id": "ae1ce578eae741f6562e36b1b91c74be5fff8dc0",
      "old_mode": 33188,
      "old_path": "go/private/rules/library.bzl",
      "new_id": "1deb90b68b7f848e510317739032ff84dac88cee",
      "new_mode": 33188,
      "new_path": "go/private/rules/library.bzl"
    },
    {
      "type": "modify",
      "old_id": "e7ea643061f89f37b33ca8a05779ee6c7d4a19eb",
      "old_mode": 33188,
      "old_path": "go/private/rules/nogo.bzl",
      "new_id": "7df83e90cc144cee93c657f5424900a3788007cc",
      "new_mode": 33188,
      "new_path": "go/private/rules/nogo.bzl"
    },
    {
      "type": "modify",
      "old_id": "4c55dca374502c767a90c6fe5466770896b46af1",
      "old_mode": 33188,
      "old_path": "go/private/rules/source.bzl",
      "new_id": "58c8fb0887c58745c243d9fced06b44c729d199b",
      "new_mode": 33188,
      "new_path": "go/private/rules/source.bzl"
    },
    {
      "type": "modify",
      "old_id": "f77ab5a35c57db3368af6d05fe194e9d636b01ba",
      "old_mode": 33188,
      "old_path": "proto/compiler.bzl",
      "new_id": "e1b16d1b22ccd887aa0557833615c6e2f8743dfe",
      "new_mode": 33188,
      "new_path": "proto/compiler.bzl"
    },
    {
      "type": "modify",
      "old_id": "9a5ec111d8272dc60fa0c08a43b2dce2ff62274e",
      "old_mode": 33188,
      "old_path": "proto/def.bzl",
      "new_id": "1ed0e38c153438b5fe1b8411afcce7b5e86a74cf",
      "new_mode": 33188,
      "new_path": "proto/def.bzl"
    }
  ]
}
