-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make stage2 rustdoc and proc-macro-srv disableable in x.py install #106886
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
@bors r+ |
Rollup of 7 pull requests Successful merges: - rust-lang#106796 (BPF: Disable atomic CAS) - rust-lang#106886 (Make stage2 rustdoc and proc-macro-srv disableable in x.py install) - rust-lang#107101 (Filter param-env predicates for errors before calling `to_opt_poly_trait_pred`) - rust-lang#107109 (ThinBox: Add intra-doc-links for Metadata) - rust-lang#107148 (remove error code from `E0789`, add UI test/docs) - rust-lang#107151 (Instantiate dominators algorithm only once) - rust-lang#107153 (Consistently use dominates instead of is_dominated_by) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Just to leave a breadcrumb for anyone running into this down the line: the way you (may) run into this if you build your own Rust from source and previously specified
The fix is to add |
It may(?) be worth adding this to the "Compatibility Notes" section in the Rust changelog. Took me a while to trace the issue back to this PR. |
…=cuviper Add note about change in bootstrap defaults Not a huge fan of the proposed wording, open to changes in that. Per rust-lang#106886 (comment). cc `@jonhoo` r? `@cuviper` perhaps?
…=cuviper Add note about change in bootstrap defaults Not a huge fan of the proposed wording, open to changes in that. Per rust-lang#106886 (comment). cc `@jonhoo` r? `@cuviper` perhaps?
Rustdoc will build if
[build] tools = ["rustdoc"]
is set, and rust-analyzer-proc-macro-srv will build if[build] tools = ["rust-analyzer"]
is set.On my machine skipping these tools speeds up
x.py install
from 7m15s to 6m08s (0m43s for rustdoc and 0m24s for rust-analyzer-proc-macro-srv). This is a significant speedup, since I never use rust-analyzer-proc-macro-srv, and I practically never need to use a custom build of rustdoc.