Skip to content

Commit

Permalink
Unrolled build for rust-lang#127934
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#127934 - Kobzol:checktools-better-error, r=onur-ozkan

Improve error when a compiler/library build fails in `checktools.sh`

Suggested by ``@RalfJung`` [here](rust-lang#127869 (comment)).

`x86_64-gnu-tools` should take ~45 minutes, let's see if this doesn't regress it.

r? ``@onur-ozkan``
  • Loading branch information
rust-timer authored Jul 19, 2024
2 parents 3811f40 + e3a22c9 commit 6459335
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 6459335

Please sign in to comment.