File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
docker/host-x86_64/x86_64-gnu-tools Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff 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+
1115set +e
1216python3 " $X_PY " test --stage 2 --no-fail-fast \
1317 src/doc/book \
Original file line number Diff line number Diff line change @@ -82,14 +82,14 @@ envs:
8282pr :
8383 - image : x86_64-msvc-ext1
8484 env :
85- SCRIPT : python x.py --stage 2 test src/tools/cargotest src/tools/cargo
85+ SCRIPT : python x.py --stage 2 test src/tools/cargo && src/ci/docker/host-x86_64/x86_64-gnu- tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
8686 HOST_TARGET : x86_64-pc-windows-msvc
8787 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json --set build.cargo=C:/a/rust/rust/cargo.exe
8888 DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
8989 << : *job-windows-8c
9090 - image : x86_64-msvc-ext2
9191 env :
92- SCRIPT : python x.py --stage 2 test src/tools/cargotest src/tools/cargo
92+ SCRIPT : python x.py --stage 2 test src/tools/cargo && src/ci/docker/host-x86_64/x86_64-gnu- tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
9393 HOST_TARGET : x86_64-pc-windows-msvc
9494 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-lld --save-toolstates=/tmp/toolstate/toolstates.json --set build.cargo=C:/a/rust/rust/cargo.exe
9595 DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
You can’t perform that action at this time.
0 commit comments