about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-11-14 18:26:14 +0800
committerGitHub <noreply@github.com>2024-11-14 18:26:14 +0800
commitbce5fa62ab012ce8da966bf9923505eab613962e (patch)
tree3574a5e1e2748d03642b8ffb2eb81dd9a908f3ef
parentdae7ac133b9eda152784c075facb31a6688c92b1 (diff)
parentfc83c8a17858f619c8c6dd4546da7b2466748a3f (diff)
downloadrust-bce5fa62ab012ce8da966bf9923505eab613962e.tar.gz
rust-bce5fa62ab012ce8da966bf9923505eab613962e.zip
Rollup merge of #132010 - cuviper:alt-full-debuginfo, r=Mark-Simulacrum
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
-rwxr-xr-xsrc/ci/run.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index d9c58d9a02a..5690d8edea6 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -115,7 +115,12 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNE
 if [ "$DEPLOY$DEPLOY_ALT" = "1" ]; then
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.remap-debuginfo"
-  RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
+
+  if [ "$DEPLOY_ALT" != "" ]; then
+    RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level=2"
+  else
+    RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --debuginfo-level-std=1"
+  fi
 
   if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"