File tree 2 files changed +6
-2
lines changed
docker/host-x86_64/x86_64-gnu-tools
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ X_PY="$1"
8
8
9
9
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
10
10
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
+
11
15
set +e
12
16
python3 " $X_PY " test --stage 2 --no-fail-fast \
13
17
src/doc/book \
Original file line number Diff line number Diff line change @@ -82,14 +82,14 @@ envs:
82
82
pr :
83
83
- image : x86_64-msvc-ext1
84
84
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
86
86
HOST_TARGET : x86_64-pc-windows-msvc
87
87
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
88
88
DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
89
89
<< : *job-windows-8c
90
90
- image : x86_64-msvc-ext2
91
91
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
93
93
HOST_TARGET : x86_64-pc-windows-msvc
94
94
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
95
95
DEPLOY_TOOLSTATES_JSON : toolstates-windows.json
You can’t perform that action at this time.
0 commit comments