about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-11 12:16:56 +0000
committerbors <bors@rust-lang.org>2025-08-11 12:16:56 +0000
commitfce0e74720d199eb7839fdb51af35ac5226da178 (patch)
tree14551070e999a71c49ec2b74cab592207d6ac8c4 /src
parent577166503aee7290e09374da21f4045c455acfd5 (diff)
parent3fde438cecc2650ca34b510fef992ad595229306 (diff)
downloadrust-fce0e74720d199eb7839fdb51af35ac5226da178.tar.gz
rust-fce0e74720d199eb7839fdb51af35ac5226da178.zip
Auto merge of #145215 - Kobzol:rust-backtrace, r=marcoieni
Enable RUST_BACKTRACE=1 on CI

We should really see the backtrace if something in bootstrap fails on CI. https://github.com/rust-lang/rust/pull/145011#issuecomment-3172664934 doesn't show many details.
Diffstat (limited to 'src')
-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.