authorbors <bors@rust-lang.org> 2026-06-25 01:14:29 UTC
committerbors <bors@rust-lang.org> 2026-06-25 01:14:29 UTC
log8e25b4121d5ea29bef166b86173fb043782ffbff
tree780cd6debb05706df9fe89d31a1e56ee44aca9ce
parentf28ac764c36004fa6a6e098d15b4016a838c13c6
parentc36caacd1b04745b4588517f801fb7d8d56ee991

Auto merge of #158379 - JonathanBrouwer:i686-workaround, r=Mark-Simulacrum

Workaround: Skip rustc book on i686 Workaround for https://github.com/rust-lang/rust/issues/158378 so we can get CI going again r? @ghost

4 files changed, 12 insertions(+), 3 deletions(-)

src/bootstrap/mk/Makefile.in+2-2
......@@ -112,9 +112,9 @@ TEST_SET2 := --skip=tests --skip=coverage-map --skip=coverage-run --skip=library
112112
113113# this intentionally doesn't use `$(BOOTSTRAP)` so we can test the shebang on Windows
114114ci-msvc-py:
115 $(Q)$(CFG_SRC_DIR)/x.py test --stage 2 $(TEST_SET1)
115 $(Q)$(CFG_SRC_DIR)/x.py test --stage 2 $(TEST_SET1) --skip=src/tools/linkchecker
116116ci-msvc-ps1:
117 $(Q)$(CFG_SRC_DIR)/x.ps1 test --stage 2 $(TEST_SET2)
117 $(Q)$(CFG_SRC_DIR)/x.ps1 test --stage 2 $(TEST_SET2) --skip=src/tools/linkchecker
118118ci-msvc: ci-msvc-py ci-msvc-ps1
119119
120120## MingW native builders
src/bootstrap/src/core/build_steps/doc.rs+7
......@@ -1392,6 +1392,13 @@ impl Step for RustcBook {
13921392 /// in the "md-doc" directory in the build output directory. Then
13931393 /// "rustbook" is used to convert it to HTML.
13941394 fn run(self, builder: &Builder<'_>) {
1395 // FIXME: Temporary workaround for https://github.com/rust-lang/rust/issues/158378
1396 #[cfg(not(test))] // So this check doesn't affect the bootstrap tests
1397 if self.target == "i686-pc-windows-msvc" {
1398 eprintln!("WARNING: Skipping rustc book build to work around #158378");
1399 return;
1400 }
1401
13951402 let out_base = builder.md_doc_out(self.target).join("rustc");
13961403 t!(fs::create_dir_all(&out_base));
13971404 let out_listing = out_base.join("src/lints");
src/ci/github-actions/jobs.yml+2-1
......@@ -161,7 +161,7 @@ pr:
161161 env:
162162 CODEGEN_BACKENDS: gcc
163163 <<: *job-linux-4c
164
164
165165 # This job tests features we want to stabilize soon, to ensure they don't
166166 # regress.
167167 - name: x86_64-gnu-next-trait-solver-polonius
......@@ -720,6 +720,7 @@ auto:
720720 --target=i686-pc-windows-msvc
721721 --enable-full-tools
722722 --enable-profiler
723 --disable-docs
723724 SCRIPT: python x.py dist bootstrap --include-default-paths
724725 DIST_REQUIRE_ALL_TOOLS: 1
725726 CODEGEN_BACKENDS: llvm,cranelift
src/tools/build-manifest/src/main.rs+1
......@@ -26,6 +26,7 @@ static DOCS_FALLBACK: &[(&str, &str)] = &[
2626 ("-apple-", "aarch64-apple-darwin"),
2727 ("aarch64", "aarch64-unknown-linux-gnu"),
2828 ("arm-", "aarch64-unknown-linux-gnu"),
29 ("i686-pc-windows", "x86_64-pc-windows-msvc"),
2930 ("", "x86_64-unknown-linux-gnu"),
3031];
3132