)]}'
{
  "commit": "2c06f121b255ed6a7b3adf7a3d839e53a3085eac",
  "tree": "29f5c271f93c0155f15504443416d33f5e7b63c5",
  "parents": [
    "1d2e4cb24d720fb86c02f080c7a8d0c447ff948b"
  ],
  "author": {
    "name": "Keith Smiley",
    "email": "keithbsmiley@gmail.com",
    "time": "Mon Sep 07 09:31:29 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Sep 07 09:33:40 2026 -0700"
  },
  "message": "Add missing bsd link libraries (#859)\n\nThis mirrors this behavior from the clang driver:\n\nhttps://github.com/llvm/llvm-project/blob/3e892fad65730692057da27bebb2e34d3ad7bde7/clang/lib/Driver/ToolChains/OpenBSD.cpp#L365-L366\n\nThe same does not apply for freebsd (I didn\u0027t check netbsd which isn\u0027t\nsupported here right now).\n\nAlternatively we could use clang++ for linking directly instead of\nclang, which would add these automatically, but that would make it\nharder to disable these in the case you are linking pure C\n\nFixes https://github.com/bazelbuild/rules_cc/issues/857\n\nCloses #859\n\nCOPYBARA_INTEGRATE_REVIEW\u003dhttps://github.com/bazelbuild/rules_cc/pull/859 from keith:ks/add-missing-openbsd-link-flags 70575fbff89f98fb4eb76db417e035133e8d767f\nPiperOrigin-RevId: 977503273\nChange-Id: Ifcb127ace43f5bad5f075de8dc7ae21d3182858d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d10557ad2f087658d4ee661a2e5808a573d42868",
      "old_mode": 33188,
      "old_path": "cc/private/toolchain/bsd_cc_toolchain_config.bzl",
      "new_id": "74891d67a99127328b9089d5212c4bc0271d60e1",
      "new_mode": 33188,
      "new_path": "cc/private/toolchain/bsd_cc_toolchain_config.bzl"
    }
  ]
}
