Skip to content

Fix Bazel build for Bazel 9 compatibility#386

Merged
PJK merged 1 commit into
masterfrom
bazel-update
Feb 8, 2026
Merged

Fix Bazel build for Bazel 9 compatibility#386
PJK merged 1 commit into
masterfrom
bazel-update

Conversation

@PJK

@PJK PJK commented Feb 8, 2026

Copy link
Copy Markdown
Owner

Bazel 9 removed native CC rules (cc_library, cc_binary, cc_test, cc_import) from builtins. Add explicit load() statements and bump stale dependency versions (rules_cc 0.2.14, googletest 1.17.0).

Description

What changes and why

Checklist

  • I have read followed CONTRIBUTING.md
    • I have added tests
    • I have updated the documentation
    • I have updated the CHANGELOG
  • Are there any breaking changes?
    • If yes: I have marked them in the CHANGELOG (example)
  • Does this PR introduce any platform specific code?
  • Security: Does this PR potentially affect security?
  • Performance: Does this PR potentially affect performance?

Bazel 9 removed native CC rules (cc_library, cc_binary, cc_test,
cc_import) from builtins. Add explicit load() statements and bump
stale dependency versions (rules_cc 0.2.14, googletest 1.17.0).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@PJK
PJK merged commit d3e40ca into master Feb 8, 2026
15 of 17 checks passed
@PJK
PJK deleted the bazel-update branch February 8, 2026 15:50
@codecov

codecov Bot commented Feb 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2ec6099) to head (ba25e36).
⚠️ Report is 38 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #386   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           20        20           
  Lines         1653      1653           
=========================================
  Hits          1653      1653           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant