Skip to content

Commit 1142c03

Browse files
committed
use local-rebuild instead of BOOTSTRAP_SKIP_TARGET_SANITY workaround
Signed-off-by: onur-ozkan <[email protected]>
1 parent 041b59e commit 1142c03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tools/opt-dist/src/tests.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ change-id = 115898
6767
[build]
6868
rustc = "{rustc}"
6969
cargo = "{cargo}"
70+
local-rebuild = true
7071
7172
[target.{host_triple}]
7273
llvm-config = "{llvm_config}"
@@ -104,9 +105,6 @@ llvm-config = "{llvm_config}"
104105
}
105106
cmd(&args)
106107
.env("COMPILETEST_FORCE_STAGE0", "1")
107-
// Above we override the stage 0 compiler with previously compiled compiler,
108-
// which can cause confusion in bootstrap's target sanity checks.
109-
.env("BOOTSTRAP_SKIP_TARGET_SANITY", "1")
110108
.run()
111109
.context("Cannot execute tests")
112110
}

0 commit comments

Comments
 (0)