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