From 1142c039c4666d5ad9e87b80a5396152a5ec29de Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Thu, 12 Sep 2024 08:38:26 +0300 Subject: [PATCH] use `local-rebuild` instead of `BOOTSTRAP_SKIP_TARGET_SANITY` workaround Signed-off-by: onur-ozkan --- src/tools/opt-dist/src/tests.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tools/opt-dist/src/tests.rs b/src/tools/opt-dist/src/tests.rs index 9dbba7a05001d..9d978a2347fb3 100644 --- a/src/tools/opt-dist/src/tests.rs +++ b/src/tools/opt-dist/src/tests.rs @@ -67,6 +67,7 @@ change-id = 115898 [build] rustc = "{rustc}" cargo = "{cargo}" +local-rebuild = true [target.{host_triple}] llvm-config = "{llvm_config}" @@ -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") }