From ade0e38b5e4f98d170532a33a5f23b3dfc3f7940 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 11 Sep 2024 19:41:00 +0000 Subject: [PATCH] Fix building rustc and the rustc test suite --- scripts/setup_rust_fork.sh | 3 +++ 1 file changed, 3 insertions(+) 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