We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
x test --stage 0 core
1 parent 02bacb2 commit 93733f9Copy full SHA for 93733f9
src/bootstrap/test.rs
@@ -2348,7 +2348,7 @@ impl Step for Crate {
2348
// `std_cargo` actually does the wrong thing: it passes `--sysroot build/host/stage2`,
2349
// but we want to use the force-recompile std we just built in `build/host/stage2-test-sysroot`.
2350
// Override it.
2351
- if builder.download_rustc() {
+ if builder.download_rustc() && compiler.stage > 0 {
2352
let sysroot = builder
2353
.out
2354
.join(compiler.host.triple)
0 commit comments