about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-05-24 01:04:50 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-05-24 11:49:30 +0300
commit3da7bbc6da494f291f18a1ac3290e7d92d3ba958 (patch)
treeb512e2a62dd518883edeac215bb1f539c962ace6 /src/ci
parent28405cabd50181afa6eccfd7f2ee8eb363d35594 (diff)
downloadrust-3da7bbc6da494f291f18a1ac3290e7d92d3ba958.tar.gz
rust-3da7bbc6da494f291f18a1ac3290e7d92d3ba958.zip
ci: Enable debuginfo for std only if release channel is set
Diffstat (limited to 'src/ci')
-rwxr-xr-xsrc/ci/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index 14ae2ae3b01..c8d9ffd92fa 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -32,7 +32,6 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-manage-submodules"
 RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-locked-deps"
 RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-cargo-native-static"
 RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-units-std=1"
-RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.debuginfo-level-std=1"
 
 if [ "$DIST_SRC" = "" ]; then
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-dist-src"
@@ -49,6 +48,7 @@ if [ "$DEPLOY$DEPLOY_ALT" != "" ]; then
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL"
   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 --set rust.debuginfo-level-std=1"
 
   if [ "$NO_LLVM_ASSERTIONS" = "1" ]; then
     RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"