Skip to content

Commit 6459335

Browse files
authored
Unrolled build for rust-lang#127934
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``
2 parents 3811f40 + e3a22c9 commit 6459335

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ X_PY="$1"
88

99
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
1010

11+
# Pre-build the compiler and the library first to output a better error message when the build
12+
# itself fails (see https://github.com/rust-lang/rust/issues/127869 for context).
13+
python3 "$X_PY" build --stage 2 compiler rustdoc
14+
1115
set +e
1216
python3 "$X_PY" test --stage 2 --no-fail-fast \
1317
src/doc/book \

0 commit comments

Comments
 (0)