)]}'
{
  "commit": "c8361e9a678814a74e92844c985c1d9e09764aff",
  "tree": "99fdccb3de72e9eaa301ba36e9dd579acfd489f9",
  "parents": [
    "2d3c81f26ee948dcd2297a0dc2177a97bf9a077d"
  ],
  "author": {
    "name": "leungster",
    "email": "leungster@gmail.com",
    "time": "Wed Jun 03 05:59:46 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jun 03 12:59:46 2026 +0000"
  },
  "message": "fix: include CGO_TOOLCHAINS to _go_proto_aspect (#4625)\n\n\u003c!-- Thanks for sending a PR! Before submitting:\n\n1. If this is your first PR, please read CONTRIBUTING.md and sign the\nCLA\n   first. We cannot review code without a signed CLA.\n2. Please file an issue *first*. All features and most bug fixes should\nhave\nan associated issue with a design discussed and decided upon. Small bug\n   fixes and documentation improvements don\u0027t need issues.\n3. New features and bug fixes must have tests. Documentation may need to\nbe updated. If you\u0027re unsure what to update, send the PR, and we\u0027ll\ndiscuss\n   in review.\n4. Note that PRs updating dependencies and new Go versions are not\naccepted.\n   Please file an issue instead.\n--\u003e\n\n**What type of PR is this?**\n\nBug fix\n\n**What does this PR do? Why is it needed?**\n\nAdds CGO_TOOLCHAINS to the proto aspect so it can propagate down to\ngo_proto_library targets.\n\nWhen enabling race detection on a `go_test` that depends on a\n`go_proto_library`, the CC toolchains weren\u0027t being propagated. This\nstarted breaking when the fallback from\nhttps://github.com/bazel-contrib/rules_go/pull/4599 was removed.\n\n**Which issues(s) does this PR fix?**\n\nFixes https://github.com/bazel-contrib/rules_go/issues/4624\n\n**Other notes for review**\n\n---------\n\nCo-authored-by: Fabian Meumertzheim \u003cfabian@meumertzhe.im\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "da4cf45ce17e9f13dba2f2cba8df8d603b19fcdf",
      "old_mode": 33188,
      "old_path": "proto/def.bzl",
      "new_id": "5a27231b3ca384ba5b9262dafccddaa24dd68bc3",
      "new_mode": 33188,
      "new_path": "proto/def.bzl"
    }
  ]
}
