rustdoc: Nuke --passes=list and defossilize the passes infrastructure - #146529
Conversation
|
rustbot has assigned @GuillaumeGomez. Use |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
rustdoc: Nuke `--passes=list`
--passes=list--passes=list and the legacy passes infrastructure
--passes=list and the legacy passes infrastructure--passes=list and defossilize the passes infrastructure
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (219856d): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (primary 2.2%, secondary -0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 469.268s -> 472.628s (0.72%) |
18dcad6 to
6d77797
Compare
|
@bors rollup- |
6d77797 to
583eef5
Compare
|
ready |
583eef5 to
188271b
Compare
This comment has been minimized.
This comment has been minimized.
188271b to
fac4ce0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
7a0a82c to
d3d804e
Compare
This comment has been minimized.
This comment has been minimized.
| pub(crate) mod strip_priv_imports; | ||
| pub(crate) mod strip_private; | ||
|
|
||
| macro_rules! initialize { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
d3d804e to
843ac4a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
843ac4a to
f1acecf
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
Nice work! @bors r+ rollup |
…=GuillaumeGomez rustdoc: Nuke `--passes=list` and defossilize the passes infrastructure `--passes` and `--no-defaults` were deprecated and made noops years ago except that `--passes list` still prints all passes in a human-readable format as if users could still somehow make use of that information. Removing this useless functionality allows for some small simplifications (and longer term, it would enable us to further rewrite the way we represent internal passes w/o having to worry about it possibly affecting the CLI). Given that the output of `--passes list` is *clearly* meant for human consumption only (I mean, just look at it), I hold the opinion that this removal doesn't need an FCP. And even if there were scripts somewhere out there that try to parse this output I think it would be okay to break them.
…=GuillaumeGomez rustdoc: Nuke `--passes=list` and defossilize the passes infrastructure `--passes` and `--no-defaults` were deprecated and made noops years ago except that `--passes list` still prints all passes in a human-readable format as if users could still somehow make use of that information. Removing this useless functionality allows for some small simplifications (and longer term, it would enable us to further rewrite the way we represent internal passes w/o having to worry about it possibly affecting the CLI). Given that the output of `--passes list` is *clearly* meant for human consumption only (I mean, just look at it), I hold the opinion that this removal doesn't need an FCP. And even if there were scripts somewhere out there that try to parse this output I think it would be okay to break them.
Rollup of 9 pull requests Successful merges: - #161689 (bootstrap: don't LTO C dependencies on aarch64) - #161553 (rustdoc: fix issue preventing "read more" links from generating.) - #161670 (Pass LargeDataThreshold to LLVM module IR) - #146529 (rustdoc: Nuke `--passes=list` and defossilize the passes infrastructure) - #156009 (Check `redundant_explicit_links` against generated URLs) - #159583 (Add new `invalid_markdown_table` rustdoc lint) - #161098 (PassWrapper: handle LLVM 24 change in function types) - #161641 (Check for missing rustfmt in the stdarch intrinsic test step sooner) - #161661 (Don't treat slashes as path seps after drive letters in verbatim paths) Failed merges: - #156749 (remove `box_patterns`)
Rollup merge of #146529 - fmease:rustdoc-nuke-passes-list, r=GuillaumeGomez rustdoc: Nuke `--passes=list` and defossilize the passes infrastructure `--passes` and `--no-defaults` were deprecated and made noops years ago except that `--passes list` still prints all passes in a human-readable format as if users could still somehow make use of that information. Removing this useless functionality allows for some small simplifications (and longer term, it would enable us to further rewrite the way we represent internal passes w/o having to worry about it possibly affecting the CLI). Given that the output of `--passes list` is *clearly* meant for human consumption only (I mean, just look at it), I hold the opinion that this removal doesn't need an FCP. And even if there were scripts somewhere out there that try to parse this output I think it would be okay to break them.
|
Note This PR was benchmarked as part of triage of its containing rollup: triage URL. Finished benchmarking commit (51502e8): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary 7.2%, secondary 5.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -3.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.1%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 471.419s -> 467.492s (-0.83%) |
View all comments
--passesand--no-defaultswere deprecated and made noops years ago except that--passes liststill prints all passes in a human-readable format as if users could still somehow make use of that information. Removing this useless functionality allows for some small simplifications (and longer term, it would enable us to further rewrite the way we represent internal passes w/o having to worry about it possibly affecting the CLI).Given that the output of
--passes listis clearly meant for human consumption only (I mean, just look at it), I hold the opinion that this removal doesn't need an FCP. And even if there were scripts somewhere out there that try to parse this output I think it would be okay to break them.