Skip to content

Commit

Permalink
use local-rebuild instead of BOOTSTRAP_SKIP_TARGET_SANITY workaround
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Sep 12, 2024
1 parent 564fc54 commit aff61cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tools/opt-dist/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ change-id = 115898
[build]
rustc = "{rustc}"
cargo = "{cargo}"
local-rebuild = true
[target.{host_triple}]
llvm-config = "{llvm_config}"
Expand Down Expand Up @@ -104,9 +105,6 @@ llvm-config = "{llvm_config}"
}
cmd(&args)
.env("COMPILETEST_FORCE_STAGE0", "1")
// Above we override the stage 0 compiler with previously compiled compiler,
// which can cause confusion in bootstrap's target sanity checks.
.env("BOOTSTRAP_SKIP_TARGET_SANITY", "1")
.run()
.context("Cannot execute tests")
}
Expand Down

0 comments on commit aff61cd

Please sign in to comment.