-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustArea: Makes things more difficult for new or seasoned contributors to RustT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Currently to hack on rustdoc you need to build all of rustc, which takes forever and hinders contribution.
It might be better to do what clippy does: use rustup-toolchain-install-master
Currently this works on rustdoc with the following steps:
# setup
cargo install rustup-toolchain-install-master
rustup-toolchain-install-master -n master -c rustc-dev -f
# remove workspace file so that we don't mess with rustbuild
rm Cargo.toml
cd src/tools/rustdoc
cargo +master build
./target/debug/rustdoccc @GuillaumeGomez @QuietMisdreavus @Mark-Simulacrum
It may also be worth making this kind of workflow a more first-class part of x.py.
carols10cents, memoryruins and jyn514
Metadata
Metadata
Assignees
Labels
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustArea: Makes things more difficult for new or seasoned contributors to RustT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.