Skip to content

Commit 11af16c

Browse files
committed
use precompiled rustc for non-dist builders by default
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 6a3c45e commit 11af16c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ci/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ else
173173
# included with LLVM, since a dynamic libstdcpp may not be available.
174174
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.static-libstdcpp"
175175
fi
176+
177+
if [ "$NO_DOWNLOAD_CI_RUSTC" = "" ]; then
178+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.download-rustc=if-unchanged"
179+
fi
176180
fi
177181

178182
if [ "$ENABLE_GCC_CODEGEN" = "1" ]; then

0 commit comments

Comments
 (0)