about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-12 20:37:55 +1000
committerGitHub <noreply@github.com>2025-08-12 20:37:55 +1000
commit1c38519319a72ab197c0820d2e61b3bfea7d08fc (patch)
tree9d8ed14dcba7809e66f64e5cf779ee2f3174a87a /src/ci
parent42af95b18e6ad480d72d6bffe71ff9063fc9b6de (diff)
parent79a134ac89f1e5ff19f8fe3efa8f025695d684de (diff)
downloadrust-1c38519319a72ab197c0820d2e61b3bfea7d08fc.tar.gz
rust-1c38519319a72ab197c0820d2e61b3bfea7d08fc.zip
Rollup merge of #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-https://github.com/rust-lang/rust/pull/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```````
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/docker/host-x86_64/pr-check-2/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ci/docker/host-x86_64/pr-check-2/Dockerfile b/src/ci/docker/host-x86_64/pr-check-2/Dockerfile
index 1a219125593..6fea2437276 100644
--- a/src/ci/docker/host-x86_64/pr-check-2/Dockerfile
+++ b/src/ci/docker/host-x86_64/pr-check-2/Dockerfile
@@ -33,11 +33,11 @@ ENV SCRIPT \
         python3 ../x.py test --stage 1 src/tools/compiletest && \
         python3 ../x.py doc bootstrap && \
         # Build both public and internal documentation.
-        RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc compiler --stage 2 && \
-        RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library --stage 2 && \
+        RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc compiler --stage 1 && \
+        RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library --stage 1 && \
         mkdir -p /checkout/obj/staging/doc && \
         cp -r build/x86_64-unknown-linux-gnu/doc /checkout/obj/staging && \
-        RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library/test --stage 2 && \
+        RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc library/test --stage 1 && \
         # The BOOTSTRAP_TRACING flag is added to verify whether the
         # bootstrap process compiles successfully with this flag enabled.
         BOOTSTRAP_TRACING=1 python3 ../x.py --help