Skip to content

Fix Bazel build with bzlmod#377

Merged
lemire merged 2 commits intofastfloat:mainfrom
BYVoid:fix-bazel-bzlmod
Mar 27, 2026
Merged

Fix Bazel build with bzlmod#377
lemire merged 2 commits intofastfloat:mainfrom
BYVoid:fix-bazel-bzlmod

Conversation

@BYVoid
Copy link
Copy Markdown
Contributor

@BYVoid BYVoid commented Mar 27, 2026

Summary

  • Add explicit load for cc_library from @rules_cc in BUILD.bazel, as native rules are no longer implicitly available with bzlmod
  • Add rules_cc dependency (v0.2.17) to MODULE.bazel
  • Update MODULE.bazel version from 6.1.6 to 8.2.4 and compatibility_level to 8

Test plan

  • Verify bazel build //:fast_float succeeds with bzlmod enabled

🤖 Generated with Claude Code

BYVoid and others added 2 commits March 27, 2026 14:39
With bzlmod, native rules like cc_library are no longer implicitly available
and must be explicitly loaded from rules_cc. Add the rules_cc dependency to
MODULE.bazel and the corresponding load statement to BUILD.bazel.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lemire lemire merged commit d7ad33a into fastfloat:main Mar 27, 2026
37 of 38 checks passed
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.

2 participants