We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf6adec + 243d35c commit 278e803Copy full SHA for 278e803
src/ci/run.sh
@@ -131,6 +131,11 @@ if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
131
132
CODEGEN_BACKENDS="${CODEGEN_BACKENDS:-llvm}"
133
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-backends=$CODEGEN_BACKENDS"
134
+
135
+ # Unless explicitly disabled, we want rustc debug assertions on the -alt builds
136
+ if [ "$DEPLOY_ALT" != "" ] && [ "$NO_DEBUG_ASSERTIONS" = "" ]; then
137
+ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-debug-assertions"
138
+ fi
139
else
140
# We almost always want debug assertions enabled, but sometimes this takes too
141
# long for too little benefit, so we just turn them off.
0 commit comments