Skip to content

Commit 9826e3e

Browse files
committed
disable CI rustc when not using CI LLVM
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 11af16c commit 9826e3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ci/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ else
169169
if [ "$NO_DOWNLOAD_CI_LLVM" = "" ]; then
170170
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.download-ci-llvm=if-unchanged"
171171
else
172+
# CI rustc requires CI LLVM to be enabled (see https://github.com/rust-lang/rust/issues/123586).
173+
NO_DOWNLOAD_CI_RUSTC=1
172174
# When building for CI we want to use the static C++ Standard library
173175
# included with LLVM, since a dynamic libstdcpp may not be available.
174176
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.static-libstdcpp"

0 commit comments

Comments
 (0)