Skip to content

Commit 3e142fb

Browse files
committed
Auto merge of rust-lang#132010 - cuviper:alt-full-debuginfo, r=<try>
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. try-job: dist-x86_64-linux try-job: dist-x86_64-linux-alt
2 parents edbd939 + dd47d77 commit 3e142fb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: 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)