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