Skip to content

Commit fce0e74

Browse files
committed
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. #145011 (comment) doesn't show many details.
2 parents 5771665 + 3fde438 commit fce0e74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ci/run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ if [ "$ENABLE_GCC_CODEGEN" = "1" ]; then
205205
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-new-symbol-mangling"
206206
fi
207207

208+
# If bootstrap fails, we want to see its backtrace
209+
export RUST_BACKTRACE=1
210+
208211
# Print the date from the local machine and the date from an external source to
209212
# check for clock drifts. An HTTP URL is used instead of HTTPS since on Azure
210213
# Pipelines it happened that the certificates were marked as expired.

0 commit comments

Comments
 (0)