]> git.lizzy.rs Git - rust.git/commit
Auto merge of #71458 - ecstatic-morse:bootstrap-cfg-doc, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Sat, 25 Apr 2020 07:26:17 +0000 (07:26 +0000)
committerbors <bors@rust-lang.org>
Sat, 25 Apr 2020 07:26:17 +0000 (07:26 +0000)
commita58b1ed44f5e06976de2bdc4d7dc81c36a96934f
tree54f1164cd3503ffbd0b9dc2b5775b23609b77673
parent40008dcb494a00571123b7d59115068a200ebe34
parent08c8996ff6f152e2ac580fbabce46e97457185e3
Auto merge of #71458 - ecstatic-morse:bootstrap-cfg-doc, r=Mark-Simulacrum

Set `--cfg bootstrap` for stage0 rustdoc

Resolves #71455.

With this patch, running `./x.py doc --stage 0 src/libstd` with a clean `build` dir successfully outputs docs for `core`, `alloc` and `std` in under a minute. This kind of turnaround for viewing small changes to the standard library documentation is quite nice, and I think we should endeavour to keep it working. I'm not sure how involved that would be though.

r? @Mark-Simulacrum