Skip to content

Commit 4c83108

Browse files
authored
Rollup merge of rust-lang#145253 - Kobzol:pr-check-2-doc-stage-1, r=jieyouxu
Document compiler and stdlib in stage1 in `pr-check-2` CI job This restores the original behavior pre-rust-lang#145011 (I thought that stage 2 makes more sense here, but it made the job ~30m slower, which is bad). Let's see what will be the "new" duration, it should be ~55 minutes. r? ````@jieyouxu````
2 parents b1777e3 + 79a134a commit 4c83108

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ci/docker/host-x86_64/pr-check-2/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ ENV SCRIPT \
3333
python3 ../x.py test --stage 1 src/tools/compiletest && \
3434
python3 ../x.py doc bootstrap && \
3535
# Build both public and internal documentation.
36-
RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc compiler --stage 2 && \
37-
RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library --stage 2 && \
36+
RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc compiler --stage 1 && \
37+
RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library --stage 1 && \
3838
mkdir -p /checkout/obj/staging/doc && \
3939
cp -r build/x86_64-unknown-linux-gnu/doc /checkout/obj/staging && \
40-
RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library/test --stage 2 && \
40+
RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library/test --stage 1 && \
4141
# The BOOTSTRAP_TRACING flag is added to verify whether the
4242
# bootstrap process compiles successfully with this flag enabled.
4343
BOOTSTRAP_TRACING=1 python3 ../x.py --help

0 commit comments

Comments
 (0)