Skip to content

Commit eac34c9

Browse files
committed
Disable LLVM assertions on Nigthly, enable them in "alt" builds.
1 parent 74be072 commit eac34c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bootstrap/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ impl Config {
528528
// Now that we've reached the end of our configuration, infer the
529529
// default values for all options that we haven't otherwise stored yet.
530530

531-
let default = config.channel == "nightly";
531+
let default = false;
532532
config.llvm_assertions = llvm_assertions.unwrap_or(default);
533533

534534
let default = match &config.channel[..] {

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if [ "$DEPLOY$DEPLOY_ALT" != "" ]; then
4949
if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then
5050
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"
5151
elif [ "$DEPLOY_ALT" != "" ]; then
52-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"
52+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-assertions"
5353
fi
5454
else
5555
# We almost always want debug assertions enabled, but sometimes this takes too

0 commit comments

Comments
 (0)