Set --cfg bootstrap
for rustdoc
when building docs with bootstrap compiler
#71455
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Currently,
./x.py doc --stage 0 src/libstd
fails after running into some#[cfg(not(bootstrap))]
stuff.I had to do this manually via
RUSTDOCFLAGS
, but I think this should be the default, no?The text was updated successfully, but these errors were encountered: