about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorChris Denton <christophersdenton@gmail.com>2022-09-04 16:51:11 +0100
committerChris Denton <christophersdenton@gmail.com>2022-09-04 16:51:11 +0100
commit835a4612d2d974c98a8f972aa43cea5d1fbea8ed (patch)
tree36e301514e3eb760a3fb30fcbeb6d9ca16657086 /src/ci
parent3fee843ebbe180b8be5ff403aefebb53e931d835 (diff)
downloadrust-835a4612d2d974c98a8f972aa43cea5d1fbea8ed.tar.gz
rust-835a4612d2d974c98a8f972aa43cea5d1fbea8ed.zip
Test internal documentation
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/docker/host-x86_64/mingw-check/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ci/docker/host-x86_64/mingw-check/Dockerfile b/src/ci/docker/host-x86_64/mingw-check/Dockerfile
index c6723d91c8b..52a7776153d 100644
--- a/src/ci/docker/host-x86_64/mingw-check/Dockerfile
+++ b/src/ci/docker/host-x86_64/mingw-check/Dockerfile
@@ -45,7 +45,8 @@ ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
            python3 ../x.py test --stage 0 src/tools/compiletest && \
            python3 ../x.py test --stage 2 src/tools/tidy && \
            python3 ../x.py test --stage 0 core alloc std test proc_macro && \
-           python3 ../x.py doc --stage 0 library/test && \
+           # Build both public and internal documentation.
+           RUSTDOCFLAGS="--document-private-items" python3 ../x.py doc --stage 0 library/test && \
            /scripts/validate-toolstate.sh && \
            /scripts/validate-error-codes.sh && \
            reuse lint && \