mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-16 22:16:53 +00:00
fix x test --stage 0 core
This commit is contained in:
parent
32057b7ec3
commit
1f0487faec
@ -2344,7 +2344,7 @@ impl Step for Crate {
|
||||
// `std_cargo` actually does the wrong thing: it passes `--sysroot build/host/stage2`,
|
||||
// but we want to use the force-recompile std we just built in `build/host/stage2-test-sysroot`.
|
||||
// Override it.
|
||||
if builder.download_rustc() {
|
||||
if builder.download_rustc() && compiler.stage > 0 {
|
||||
let sysroot = builder
|
||||
.out
|
||||
.join(compiler.host.triple)
|
||||
|
Loading…
Reference in New Issue
Block a user