Skip to content

Commit da40cf8

Browse files
committed
Use --stage 2 in checktools
- Remove useless --stage 2 argument to checktools.sh - Fix help text for expand-yaml-anchors (it had a typo)
1 parent c4c6453 commit da40cf8

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ jobs:
414414
os: windows-latest-xl
415415
- name: x86_64-msvc-tools
416416
env:
417-
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py --stage 2 /tmp/toolstate/toolstates.json windows
417+
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
418418
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json"
419419
os: windows-latest-xl
420420
- name: i686-mingw-1

src/bootstrap/flags.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ Arguments:
425425
This subcommand accepts a number of paths to tools to build and run. For
426426
example:
427427
428-
./x.py run src/tool/expand-yaml-anchors
428+
./x.py run src/tools/expand-yaml-anchors
429429
430430
At least a tool needs to be called.",
431431
);

src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
2222
ENV RUST_CONFIGURE_ARGS \
2323
--build=x86_64-unknown-linux-gnu \
2424
--save-toolstates=/tmp/toolstate/toolstates.json
25-
ENV SCRIPT /tmp/checktools.sh ../x.py --stage 2
25+
ENV SCRIPT /tmp/checktools.sh ../x.py

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ X_PY="$1"
77
# Try to test all the tools and store the build/test success in the TOOLSTATE_FILE
88

99
set +e
10-
python3 "$X_PY" test --no-fail-fast \
10+
python3 "$X_PY" test --stage 2 --no-fail-fast \
1111
src/doc/book \
1212
src/doc/nomicon \
1313
src/doc/reference \
@@ -22,5 +22,5 @@ set -e
2222

2323
# debugging: print out the saved toolstates
2424
cat /tmp/toolstate/toolstates.json
25-
python3 "$X_PY" test check-tools
26-
python3 "$X_PY" test src/tools/clippy
25+
python3 "$X_PY" test --stage 2 check-tools
26+
python3 "$X_PY" test --stage 2 src/tools/clippy

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ jobs:
481481

482482
- name: x86_64-msvc-tools
483483
env:
484-
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py --stage 2 /tmp/toolstate/toolstates.json windows
484+
SCRIPT: src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstate/toolstates.json windows
485485
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstate/toolstates.json
486486
<<: *job-windows-xl
487487

0 commit comments

Comments
 (0)