mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 01:13:11 +00:00
Improve error when a compiler/library build fails in checktools.sh
This commit is contained in:
parent
5753b30676
commit
e3a22c9f61
@ -8,6 +8,10 @@ X_PY="$1"
|
||||
|
||||
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
|
||||
|
||||
# Pre-build the compiler and the library first to output a better error message when the build
|
||||
# itself fails (see https://github.com/rust-lang/rust/issues/127869 for context).
|
||||
python3 "$X_PY" build --stage 2 compiler rustdoc
|
||||
|
||||
set +e
|
||||
python3 "$X_PY" test --stage 2 --no-fail-fast \
|
||||
src/doc/book \
|
||||
|
Loading…
Reference in New Issue
Block a user