about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-08-10 16:22:15 +0200
committerJakub Beránek <berykubik@gmail.com>2025-08-10 20:48:39 +0200
commit3fde438cecc2650ca34b510fef992ad595229306 (patch)
treefadf31da0dfb964d41da986ea32551359e005afd
parent915a766b2f9fd53a8cd7b1fad003d3f8e488ff4b (diff)
downloadrust-3fde438cecc2650ca34b510fef992ad595229306.tar.gz
rust-3fde438cecc2650ca34b510fef992ad595229306.zip
Enable RUST_BACKTRACE=1 on CI
We should really see the backtrace if something in bootstrap fails on CI.
-rwxr-xr-xsrc/ci/run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index f58a067041d..c9d81f1ff51 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -205,6 +205,9 @@ if [ "$ENABLE_GCC_CODEGEN" = "1" ]; then
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-new-symbol-mangling"
 fi
 
+# If bootstrap fails, we want to see its backtrace
+export RUST_BACKTRACE=1
+
 # Print the date from the local machine and the date from an external source to
 # check for clock drifts. An HTTP URL is used instead of HTTPS since on Azure
 # Pipelines it happened that the certificates were marked as expired.