Add missing option to -Zself-profile-event help message as well as information about what the default options are - #161821
Conversation
…ptions to help message The `query-cache-hit-count` option was forgotten to be added to the help text when it was added. The new help text also documents which of the options are part of `default`, and now conveys the information that `args` is also a compound/group option as well as what it contains.
|
r? @tiif rustbot has assigned @tiif. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
CI decided not to run at all 🧐, I’ll try reopening… |
-Zself-profile-event option to help message as well as information about what the default options are-Zself-profile-event help message as well as information about what the default options are
| @@ -2843,8 +2843,11 @@ written to standard error output)"), | |||
There was a problem hiding this comment.
This path seems to be outdated and I think it should be compiler/rustc_data_structures/src/profiling.rs, would you like to also fix it in current PR?
There was a problem hiding this comment.
sure, I'm happy to fix that ≽^⎚-⎚^≼
|
(you'll also have to |
|
Addressed the nit; also added ⋯ I could also squash this if preferred (feel free to @rustbot ready |
There was a problem hiding this comment.
i didn't notice the src/, thanks again for catching that! <3
@bors r+ rollup
…uwer Rollup of 5 pull requests Successful merges: - #162470 (Subtree sync for rustc_codegen_cranelift) - #161734 (miri: enforce proper types for c-variadic arguments in shims) - #161821 (Add missing option to `-Zself-profile-event` help message as well as information about what the default options are) - #162453 (Minimize `DiagCtxt` methods) - #162528 (Add a mention to docs about promoting and demoting platform support)
Rollup merge of #161821 - steffahn:self-profile-help-message, r=tiif Add missing option to `-Zself-profile-event` help message as well as information about what the default options are The `query-cache-hit-count` option was forgotten to be added to the help text when it was added. The new help text also documents which of the options are part of `default`, and now conveys the information that `args` is also a compound/group option and what it contains.
…uwer Rollup of 5 pull requests Successful merges: - rust-lang/rust#162470 (Subtree sync for rustc_codegen_cranelift) - rust-lang/rust#161734 (miri: enforce proper types for c-variadic arguments in shims) - rust-lang/rust#161821 (Add missing option to `-Zself-profile-event` help message as well as information about what the default options are) - rust-lang/rust#162453 (Minimize `DiagCtxt` methods) - rust-lang/rust#162528 (Add a mention to docs about promoting and demoting platform support)
The
query-cache-hit-countoption was forgotten to be added to the help text when it was added.The new help text also documents which of the options are part of
default, and now conveys the information thatargsis also a compound/group option and what it contains.