File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -2707,16 +2707,6 @@ impl Step for Crate {
2707
2707
. arg ( builder. src . join ( "library/sysroot/Cargo.toml" ) ) ;
2708
2708
} else {
2709
2709
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
- }
2720
2710
}
2721
2711
}
2722
2712
Mode :: Rustc => {
You can’t perform that action at this time.
0 commit comments