Skip to content

Add missing option to -Zself-profile-event help message as well as information about what the default options are - #161821

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
steffahn:self-profile-help-message
Sep 9, 2026
Merged

Add missing option to -Zself-profile-event help message as well as information about what the default options are#161821
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
steffahn:self-profile-help-message

Conversation

@steffahn

Copy link
Copy Markdown
Member

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.

…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.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 26, 2026
@rustbot

rustbot commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

r? @tiif

rustbot has assigned @tiif.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 75 candidates
  • Random selection from 18 candidates

@steffahn

Copy link
Copy Markdown
Member Author

CI decided not to run at all 🧐, I’ll try reopening…

@steffahn steffahn closed this Aug 26, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 26, 2026
@steffahn steffahn reopened this Aug 26, 2026
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 26, 2026
@steffahn steffahn changed the title Add missing -Zself-profile-event option to help message as well as information about what the default options are Add missing option to -Zself-profile-event help message as well as information about what the default options are Aug 26, 2026

@tiif tiif left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! r=me after nit.

View changes since this review

Comment thread compiler/rustc_session/src/options.rs Outdated
@@ -2843,8 +2843,11 @@ written to standard error output)"),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, I'm happy to fix that ≽^⎚-⎚^≼

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 6, 2026
@steffahn

steffahn commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

(you'll also have to @bors delegate, otherwise I won't have the bors permissions)

@steffahn

steffahn commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

Addressed the nit; also added ⋯/src⋯ to the paths.

I could also squash this if preferred (feel free to delegate in that case).

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 7, 2026

@tiif tiif left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i didn't notice the src/, thanks again for catching that! <3

@bors r+ rollup

View changes since this review

@rust-bors

rust-bors Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ac12e6f has been approved by tiif

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 9, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 9, 2026
…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)
@rust-bors
rust-bors Bot merged commit 4482d08 into rust-lang:main Sep 9, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Sep 9, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 9, 2026
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.
pull Bot pushed a commit to xtqqczze/rust-lang-miri that referenced this pull request Sep 10, 2026
…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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants