about summary refs log tree commit diff
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-04-24 19:59:46 +0300
committeronur-ozkan <work@onurozkan.dev>2024-10-08 18:22:54 +0300
commit9826e3ece3a5a52e9cc2af5401218f4bd71a749a (patch)
treed473012fa8563b2770fde89f7c8b343ca3826c17
parent11af16c9838f0a693040c693e98a64c68c0c2da0 (diff)
downloadrust-9826e3ece3a5a52e9cc2af5401218f4bd71a749a.tar.gz
rust-9826e3ece3a5a52e9cc2af5401218f4bd71a749a.zip
disable CI rustc when not using CI LLVM
Signed-off-by: onur-ozkan <work@onurozkan.dev>
-rwxr-xr-xsrc/ci/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index 06e3b573758..c33a376c2d6 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -169,6 +169,8 @@ else
   if [ "$NO_DOWNLOAD_CI_LLVM" = "" ]; then
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.download-ci-llvm=if-unchanged"
   else
+    # CI rustc requires CI LLVM to be enabled (see https://github.com/rust-lang/rust/issues/123586).
+    NO_DOWNLOAD_CI_RUSTC=1
     # When building for CI we want to use the static C++ Standard library
     # included with LLVM, since a dynamic libstdcpp may not be available.
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.static-libstdcpp"