about summary refs log tree commit diff
path: root/scripts/test_bootstrap.sh
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-29 20:30:50 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-10-29 20:30:50 +0000
commit41dcb52153cfb2e3a5eb74af0626e6e984e2ddc4 (patch)
tree2824e6157cb20f0a923937c89e792a14e58a8ffa /scripts/test_bootstrap.sh
parentda1ed4dc4a3ec8b4952f60f3de161f506418aae3 (diff)
Merge commit 'dde58803fd6cbb270c7a437f36a8a3a29fbef679' into sync_cg_clif-2023-10-29
Diffstat (limited to 'scripts/test_bootstrap.sh')
-rwxr-xr-xscripts/test_bootstrap.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/test_bootstrap.sh b/scripts/test_bootstrap.sh
index 791d457993d..a8f6d7a2024 100755
--- a/scripts/test_bootstrap.sh
+++ b/scripts/test_bootstrap.sh
@@ -11,5 +11,7 @@ rm -r compiler/rustc_codegen_cranelift/{Cargo.*,src}
 cp ../Cargo.* compiler/rustc_codegen_cranelift/
 cp -r ../src compiler/rustc_codegen_cranelift/src
 
-./x.py build --stage 1 library/std
+# CG_CLIF_FORCE_GNU_AS will force usage of as instead of the LLVM backend of rustc as we
+# the LLVM backend isn't compiled in here.
+CG_CLIF_FORCE_GNU_AS=1 ./x.py build --stage 1 library/std
 popd