[build] Upgrade @llvm to 0.8.11 - #17806
Merged
Merged
Conversation
Bumps the hermetic @llvm toolchain from 0.8.10 to 0.8.11 (LLVM 22.1.8). An earlier attempt at 0.8.11 failed on macOS: its sysroot changes broke the cargo C build scripts of the -sys crates (bzip2-sys, then ring) with "'stdlib.h' file not found". That is resolved by rules_rs 0.0.96 (already on trunk), so 0.8.11 now builds cleanly with the crates' build scripts left stock (gen_build_script = "on") - no per-crate workarounds needed. Straight version bump (@llvm is a plain bazel_dep). Validated locally on macOS: full compile+link of //rust:selenium-manager against @llvm 0.8.11 and the binary runs.
This was referenced Aug 10, 2026
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.
Summary
Bumps the hermetic
@llvmtoolchain from 0.8.10 → 0.8.11 (LLVM 22.1.8).Context
An earlier attempt to move to 0.8.11 failed on macOS: 0.8.11's sysroot changes (passing a relative
-isysroot) broke the cargo C build scripts of the-syscrates — firstbzip2-sys, thenring— with'stdlib.h' file not found. That is fixed by rules_rs 0.0.96 (already on trunk as of #17793), so 0.8.11 now builds cleanly with the crates' build scripts left stock (gen_build_script = "on") — no per-crate workarounds required.@llvmis a plainbazel_depwith no patch/override, so this is a straight one-line version bump.Validation
Built locally on macOS (arm64) against
@llvm0.8.11 +rules_rs0.0.96:bazel build //rust:selenium-managercompiles + links the full crate graph (including thebzip2-sys/lzma-sys/zstd-sys/ringC build scripts that exercise the@llvmC toolchain) with zero sysroot errors.selenium-manager 0.4.47-nightly).CI exercises the full Linux/macOS/Windows matrix.