File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,11 @@ export RUST_RELEASE_CHANNEL=$(releaseChannel)
105
105
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL "
106
106
107
107
if [ " $DEPLOY$DEPLOY_ALT " = " 1" ]; then
108
+ if [ " $DOWNLOAD_RUSTC " = 1 ]; then
109
+ echo " ERROR: " DOWNLOAD_RUSTC" should not be set in dist builders!" >&2
110
+ exit 1
111
+ fi
112
+
108
113
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
109
114
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.remap-debuginfo"
110
115
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
@@ -139,6 +144,10 @@ else
139
144
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-llvm-assertions"
140
145
fi
141
146
147
+ if [ " $DOWNLOAD_RUSTC " = 1 ]; then
148
+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.download-rustc=if-unchanged"
149
+ fi
150
+
142
151
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --set rust.verify-llvm-ir"
143
152
144
153
# When running gcc backend tests, we need to install `libgccjit` and to not run llvm codegen
You can’t perform that action at this time.
0 commit comments