Fix building rustc and the rustc test suite

This commit is contained in:
bjorn3 2024-09-11 19:41:00 +00:00
parent dcae9acda0
commit ade0e38b5e

View File

@ -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