Repository navigation
Tracking issue for release notes of #155942: Stabilize -Zprofile-sample-use #161171
Description
Activity
- addedA-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.relnotesMarks issues that should be documented in the release notes of the next release.Marks issues that should be documented in the release notes of the next release.A-rust-for-linuxRelevant for the Rust-for-Linux projectRelevant for the Rust-for-Linux projectrelnotes-tracking-issueMarks issues tracking what text to put in release notes.Marks issues tracking what text to put in release notes.needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triagingThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
on Aug 16, 2026 @folkertdev Since #155942 was successfully merged, let's discuss the Release notes.
Answer to the questions from the template above:
Does this need an additional compat notes section?
No, it doesn't since we only stabilize a compiler flag. It should be obvious enough that stabilization means replacing
-Zprofile-sample-usewith-Cprofile-sample-use. However, even this detail is not critical since the only known user of this flag in open-source is RustForLinux (and they are already notified about this one).Was this a libs stabilization that should have additional headers to list new APIs under Stabilized APIs and Const Stabilized APIs?
No, it's not a lib stabilization - it's a compiler switch stabilization.
I think the change is quite small and niche so no dedicated release blog section is required here.
- removedneeds-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triagingThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
on Aug 28, 2026 thanks!
This issue tracks the release notes text for #155942.
cc @zamazan4ik, @folkertdev -- original issue/PR authors and assignees for drafting text
See the forge.rust-lang.org chapter about release notes for an overview of how the release team makes use of these tracking issues.
Release notes text
This section should be edited to specify the correct category(s) for the change, with succinct description(s) of what changed. Some things worth considering:
Stabilized APIsandConst Stabilized APIs?Tip
Use the previous releases for inspiration on how to write the release notes text and which categories to pick.
Release blog section
If this change is notable enough for inclusion in the blog post then this section should be edited to contain a draft for the blog post. Otherwise leave it empty.
Note
If a blog post section is required the
release-blog-postlabel should be added (@rustbot label +release-blog-post) to this issue as otherwise it may be missed by the release team.