Skip to content

Commit fc83c8a

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 de27914 commit fc83c8a

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
@@ -115,7 +115,12 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNE
115115
if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
116116
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
117117
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.remap-debuginfo"
118-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
118+
119+
if [ "$DEPLOY_ALT" != "" ]; then
120+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level=2"
121+
else
122+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
123+
fi
119124

120125
if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then
121126
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"

0 commit comments

Comments
 (0)