)]}'
{
  "commit": "e375c29c6bda4e85d1fd16f4991fa1429d263635",
  "tree": "3098729ce099785b607446803e2a0d167d80eaa7",
  "parents": [
    "d79c2af327e97dcd566bd9231325fc9b06b95177"
  ],
  "author": {
    "name": "Rudolf Polzer",
    "email": "divVerent@gmail.com",
    "time": "Thu Jul 23 06:19:11 2026 -0700"
  },
  "committer": {
    "name": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Jul 24 00:36:41 2026 -0700"
  },
  "message": "Enable thread safety annotations in local bazel builds.\n\nThis is necessary as without this define, Apple\u0027s Clang complains about\ngooglebenchmark\u0027s code:\n\n```\nIn file included from external/google_benchmark+/src/perf_counters.cc:15:\nIn file included from external/google_benchmark+/src/perf_counters.h:27:\nexternal/google_benchmark+/src/mutex.h:79:40: error: mutex \u0027mut_\u0027 is still held at the end of function [-Werror,-Wthread-safety-analysis]\n   79 |   void lock() ACQUIRE() { mut_.lock(); }\n      |                                        ^\nexternal/google_benchmark+/src/mutex.h:79:32: note: mutex acquired here\n   79 |   void lock() ACQUIRE() { mut_.lock(); }\n      |                                ^\nexternal/google_benchmark+/src/mutex.h:80:34: error: releasing mutex \u0027mut_\u0027 that was not held [-Werror,-Wthread-safety-analysis]\n   80 |   void unlock() RELEASE() { mut_.unlock(); }\n      |                                  ^\n2 errors generated.\nTarget //:bssl_bench failed to build\n```\n\nWith this define, googlebenchmark\u0027s code uses its own annotations (here\n`ACQUIRE` and `RELEASE`), which fixes the warnings, making `bazel test\n...` work.\n\nChange-Id: Iefe7e2ce1b48cde096a29854240c98da6a6a6964\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/99447\nReviewed-by: Adam Langley \u003cagl@google.com\u003e\nCommit-Queue: Rudolf Polzer \u003crpolzer@google.com\u003e\nPresubmit-BoringSSL-Verified: boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cboringssl-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "803b785c8962978eaebdbe36224454987af72a65",
      "old_mode": 33188,
      "old_path": ".bazelrc",
      "new_id": "42126826e2049cb7e3d32cd6dfc60be71e37cba4",
      "new_mode": 33188,
      "new_path": ".bazelrc"
    }
  ]
}
