Skip to content

Commit 4802f09

Browse files
committed
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.
2 parents 63d0377 + 1f7c896 commit 4802f09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ci/docker/mingw-check/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ ENV SCRIPT python3 ../x.py test src/tools/expand-yaml-anchors && \
2727
python3 ../x.py build --stage 0 src/tools/build-manifest && \
2828
python3 ../x.py test --stage 0 src/tools/compiletest && \
2929
python3 ../x.py test src/tools/tidy && \
30+
python3 ../x.py doc --stage 0 src/libstd && \
3031
/scripts/validate-toolstate.sh

0 commit comments

Comments
 (0)