Skip to content

Commit 3fde438

Browse files
committed
Enable RUST_BACKTRACE=1 on CI
We should really see the backtrace if something in bootstrap fails on CI.
1 parent 915a766 commit 3fde438

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)