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 32057b7 commit 1f0487fCopy full SHA for 1f0487f
src/bootstrap/test.rs
@@ -2344,7 +2344,7 @@ impl Step for Crate {
2344
// `std_cargo` actually does the wrong thing: it passes `--sysroot build/host/stage2`,
2345
// but we want to use the force-recompile std we just built in `build/host/stage2-test-sysroot`.
2346
// Override it.
2347
- if builder.download_rustc() {
+ if builder.download_rustc() && compiler.stage > 0 {
2348
let sysroot = builder
2349
.out
2350
.join(compiler.host.triple)
0 commit comments