Skip to content

Commit dd47d77

Browse files
committed
ci: Enable full debuginfo-level=2 in DEPLOY_ALT
It will be slower to build and produce larger artifacts, but hopefully it will help catch debuginfo regressions sooner, especially for problems that LLVM assertions would uncover.
1 parent 3ec4308 commit dd47d77

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ci/run.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,12 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNE
120120
if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
121121
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
122122
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.remap-debuginfo"
123-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
123+
124+
if [ "$DEPLOY_ALT" != "" ]; then
125+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level=2"
126+
else
127+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
128+
fi
124129

125130
if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then
126131
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"

0 commit comments

Comments
 (0)