about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-09-11 19:41:00 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-09-11 19:41:00 +0000
commitade0e38b5e4f98d170532a33a5f23b3dfc3f7940 (patch)
treebe8a14af50b002a8630a95074d8c0fd08519ac74
parentdcae9acda04cb94117adb7e41d8d3d0b472872b7 (diff)
downloadrust-ade0e38b5e4f98d170532a33a5f23b3dfc3f7940.tar.gz
rust-ade0e38b5e4f98d170532a33a5f23b3dfc3f7940.zip
Fix building rustc and the rustc test suite
-rw-r--r--scripts/setup_rust_fork.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/setup_rust_fork.sh b/scripts/setup_rust_fork.sh
index 684a5d07293..ada0a8438b1 100644
--- a/scripts/setup_rust_fork.sh
+++ b/scripts/setup_rust_fork.sh
@@ -41,3 +41,6 @@ popd
 # Allow the testsuite to use llvm tools
 host_triple=$(rustc -vV | grep host | cut -d: -f2 | tr -d " ")
 export LLVM_BIN_DIR="$(rustc --print sysroot)/lib/rustlib/$host_triple/bin"
+
+# local-rebuild should probably set this unconditionally
+export BOOTSTRAP_SKIP_TARGET_SANITY=1