build: remove MSVC from Windows Bazel build actions#29162
Closed
anp-oai wants to merge 10 commits into
Closed
Conversation
This was referenced Jun 20, 2026
anp-oai
force-pushed
the
codex/windows-hermetic-exec
branch
from
June 22, 2026 17:29
5fcabf0 to
8494332
Compare
anp-oai
force-pushed
the
codex/windows-hermetic-native-builds
branch
from
June 22, 2026 17:47
3f9b82b to
bb0e048
Compare
anp-oai
force-pushed
the
codex/windows-hermetic-exec
branch
from
June 22, 2026 18:51
8494332 to
871d868
Compare
anp-oai
force-pushed
the
codex/windows-hermetic-native-builds
branch
from
June 22, 2026 19:06
bb0e048 to
f8f4a2f
Compare
anp-oai
force-pushed
the
codex/windows-hermetic-native-builds
branch
from
June 22, 2026 19:28
f8f4a2f to
7835d1d
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.
Intent
Windows Bazel native build actions still had a local MSVC fallback and inherited Visual Studio and Windows SDK state from the runner. This removes those system compiler dependencies and makes the local fallback match the pinned gnullvm build used with remote execution.
Parent PR: #29149
Implementation
cc-rsnative builds on Bazel-provided Clang,llvm-ar, MinGW headers, CRT objects, and import libraries. Bazel Windows aws-lc builds always use the crate declared prebuilt NASM objects.--skip_incompatible_explicit_targets.Validation
--config=ci-windows-cross.PATHset to a nonexistent directory.CargoBuildScriptRunactions to verify Bazel-owned Clang,llvm-ar, MinGW headers, CRT objects, and import libraries.just bazel-lock-check.