about summary refs log tree commit diff
path: root/src/ci
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-07 09:47:49 +0000
committerbors <bors@rust-lang.org>2020-05-07 09:47:49 +0000
commit4802f097c86452cd2e09d44e88dbcb8e08266552 (patch)
tree46b0601b87c2b0ab07367b1964dba3fc73ddd443 /src/ci
parent63d03779946a07d8c418a361278168a6d3a1f4d2 (diff)
parent1f7c8967dcb695ebc645c9e920c14c9db1e3a440 (diff)
downloadrust-4802f097c86452cd2e09d44e88dbcb8e08266552.tar.gz
rust-4802f097c86452cd2e09d44e88dbcb8e08266552.zip
Auto merge of #71649 - ecstatic-morse:ci-stage0-doc, r=Mark-Simulacrum
Ensure that `./x.py doc --stage 0 src/libstd` works via CI

This was split off from #71645, which recommends that users first try building `libstd` docs with the bootstrap `rustdoc`. This should work in most cases, but will fail if we start using a very recent `rustdoc` feature outside a `#[cfg(not(bootstrap))]`.

It would be very nice to guarantee that `./x.py doc --stage 0 src/libstd` works, since it allows documentation changes to be rendered locally without needing to build the compiler. However, it may put too big a burden on `rustdoc` developers who presumably want to dogfood new features.
Diffstat (limited to 'src/ci')
-rw-r--r--src/ci/docker/mingw-check/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ci/docker/mingw-check/Dockerfile b/src/ci/docker/mingw-check/Dockerfile
index 17d844a1f99..97e4d3fd749 100644
--- a/src/ci/docker/mingw-check/Dockerfile
+++ b/src/ci/docker/mingw-check/Dockerfile
@@ -27,4 +27,5 @@ ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors && \
            python3 ../x.py build --stage 0 src/tools/build-manifest && \
            python3 ../x.py test --stage 0 src/tools/compiletest && \
            python3 ../x.py test src/tools/tidy && \
+           python3 ../x.py doc --stage 0 src/libstd && \
            /scripts/validate-toolstate.sh