Repository navigation
Conversation
The old one was some ancient version that didn't support bzlmod and is past its end of support (https://bazel.build/release#support-matrix). It didn't support bzlmod, so we have to update. The new version is the same version we use for Linux.
For some reason installing Bazel directly uses an ancient version.
This is confusing, because there are just cryptic errors about missing files when the actual problem is that the platform isn't detected correctly or unsupported.
By using toolchains and exec_compatbile_with we can use the correct toolchain for the execution platform. select was not operating on the exec platform, which meant that files weren't getting to the right places with bzlmod + Bazel 8. Toolchains are set up for all platforms that were previously supported. If you attempt to use a version of Emscripten that doesn't have an arm64 Linux build to build wasm on that platform, then it will error as it did previously.
…hem moving forward
…h_override This way people won't need to check out the repo in order to use the module.
This upgrades to rules_python 1.3.0, which makes downgrades the "running as root" error to a warning by default by setting ignore_root_user_error = True as the default.
Owner
|
Awesome! I merged by cherry-pick as suggested :) |
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 branch is rebased on origin's main branch and builds are all passing.
It may be more convenient for you to rebase your branch on main and then cherry-pick the last 4 commits on this branch to your branch.