build: migrate codebase to Bazel (#377) - #386
Closed
filmil wants to merge 25 commits into
Closed
Conversation
Adds .bazelversion, MODULE.bazel, and related configuration for bootstrapping a Bazel workspace with rules_rust, rules_foreign_cc, and llvm toolchains. This sets the foundation for porting the rust_icu build to bazel.
- Uses `bazel-contrib/setup-bazel` rather than manual npm resolution Issue: #376
Adds bzlmod integration via icu_deps.bzl to pull ICU 74, 75, 76, and 77 archive targets. Sets up configure_make tasks for static and shared compilation of ICU, overriding upstream BUILD rules.
…ltiple ICUs avoiding Action Runner OOM
This commit re-adds the `rustc_link_libs()` emit for the standard Cargo build lifecycle while specifically silencing it when Bazel compiles via `cargo_build_script`. Issue: #376
This commit synthesizes Bazel build targets for all 25 remaining rust_icu crates and their test suites, closing the compilation gap. Features: - Dynamically resolves ICU testdata absolute paths inside Bazel runfiles. - Leverages static data packaging for ICU to ensure symbol resolution during tests. - Statically bundles `.res` objects for URes compilation testing without genrb in sandbox. Issue: #376
* build: auto-publish and ToT matrix CI * build: format bazel files with buildifier * docs: document public APIs in Starlark files * fix: remove root workspace manifest from release-please * fix: switch to manifest-based release-please configuration for rust-workspace * fix: use correct cargo-workspace plugin for release-please
* docs: modernize README for Bazel environment * docs: remove remnants of nonhermetic installation and add migration note * Revert "docs: remove remnants of nonhermetic installation and add migration note" This reverts commit 660baa7. * docs: remove remnants of nonhermetic installation and add migration note
filmil
force-pushed
the
bazel-migration
branch
from
August 12, 2026 04:49
0b6607d to
4da402b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR serves as the culmination of the Bazel migration effort tracked within the
bazel-migrationbranch. It will cleanly rebase onto main once the stacked pull requests are merged.