Skip to content

Commit 7af12a1

Browse files
committed
remove outdated RUSTC_SYSROOT handling for ci-rustc
Signed-off-by: onur-ozkan <[email protected]>
1 parent e66948c commit 7af12a1

File tree

1 file changed

+0
-10
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+0
-10
lines changed

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,16 +2707,6 @@ impl Step for Crate {
27072707
.arg(builder.src.join("library/sysroot/Cargo.toml"));
27082708
} else {
27092709
compile::std_cargo(builder, target, compiler.stage, &mut cargo);
2710-
// `std_cargo` actually does the wrong thing: it passes `--sysroot build/host/stage2`,
2711-
// but we want to use the force-recompile std we just built in `build/host/stage2-test-sysroot`.
2712-
// Override it.
2713-
if builder.download_rustc() && compiler.stage > 0 {
2714-
let sysroot = builder
2715-
.out
2716-
.join(compiler.host)
2717-
.join(format!("stage{}-test-sysroot", compiler.stage));
2718-
cargo.env("RUSTC_SYSROOT", sysroot);
2719-
}
27202710
}
27212711
}
27222712
Mode::Rustc => {

0 commit comments

Comments
 (0)