Skip to content

Rename -Zdebuginfo-for-profiling switch#156887

Open
zamazan4ik wants to merge 2 commits into
rust-lang:mainfrom
zamazan4ik:rename-debuginfo-for-profiling-switch
Open

Rename -Zdebuginfo-for-profiling switch#156887
zamazan4ik wants to merge 2 commits into
rust-lang:mainfrom
zamazan4ik:rename-debuginfo-for-profiling-switch

Conversation

@zamazan4ik
Copy link
Copy Markdown
Contributor

The PR was raised from this comment from another stabilization PR: #155942

I renamed -Zdebug-info-for-profiling into -Zdebuginfo-for-profiling before stabilization to be consistent with other debuginfo-related Rustc flags like -C split-debuginfo and -C debuginfo.

One important note is that Clang has the flag under -fdebug-info-for-profiling. I decided that consistency with other Rustc flags is more important here than to be consistent with Clang.

r? folkertdev (as was proposed here)

@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 May 24, 2026
@rustbot

This comment has been minimized.

@zamazan4ik zamazan4ik force-pushed the rename-debuginfo-for-profiling-switch branch from 1c4094e to 58d2a68 Compare May 24, 2026 18:21
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 24, 2026

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.

@rust-log-analyzer

This comment has been minimized.

@zamazan4ik zamazan4ik force-pushed the rename-debuginfo-for-profiling-switch branch from 58d2a68 to 57e7bf4 Compare May 24, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants