)]}'
{
  "commit": "45a967f1136b2ff982fa89236d23d63844ad9b4e",
  "tree": "42e097483317a085739067719ea669e033241331",
  "parents": [
    "28acac02a118f94eddf73f2d81eed4d4a70e4157"
  ],
  "author": {
    "name": "David Zbarsky",
    "email": "dzbarsky@gmail.com",
    "time": "Wed Oct 28 18:01:29 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Oct 28 18:02:58 2026 -0700"
  },
  "message": "Avoid unnecessary versioned library checks in cc_helper (#871)\n\n`_get_public_hdrs` now checks `extensions.DISALLOWED_HDRS_FILES` through a dictionary, avoiding repeated linear membership scans. `_check_file_extension` calls `is_versioned_shared_library_extension_valid` only when `file.extension` begins with a digit, as required by versioned `.so` and `.dylib` names.\n\nValidation: `buildifier -mode\u003dcheck cc/common/cc_helper.bzl`; `bazel test //tests/cc/common:cc_library_configured_target_tests //tests/cc/common:cc_import_configured_target_tests` (19 tests passed).\n\nCloses #871\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/rules_cc/pull/871 from dzbarsky:codex/filter-versioned-extension-checks 6a42930bb2523f9996cfb9025d0e8a5d14f472b2\nPiperOrigin-RevId: 1009305857\nChange-Id: If70e16a8d9cfd1c99299d5390658887e6f2f3b94\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ad009a74228bdadc258ff73065c28965c643ae34",
      "old_mode": 33188,
      "old_path": "cc/common/cc_helper.bzl",
      "new_id": "d77c5a6dd1494bf6d52525a85dde593712921c22",
      "new_mode": 33188,
      "new_path": "cc/common/cc_helper.bzl"
    }
  ]
}
