rustbot · GitHub

@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.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

T-rust-analyzer

Relevant to the rust-analyzer team, which will review and decide on the PR/issue.

labels

Jun 1, 2026

@veluca93

@veluca93

@veluca93 veluca93 changed the title stabilize optimize attribute (size, speed, and none) stabilize optimize attribute

Jun 1, 2026

@tgross35 tgross35 added needs-fcp

This change is insta-stable, or significant enough to need a team FCP to proceed.

T-lang

Relevant to the language team

and removed T-rust-analyzer

Relevant to the rust-analyzer team, which will review and decide on the PR/issue.

T-libs

Relevant to the library team, which will review and decide on the PR/issue.

labels

Jun 1, 2026

@JohnTitor JohnTitor added S-blocked

Status: Blocked on something else such as an RFC or other implementation work.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jun 1, 2026

@veluca93

jieyouxu

rust-bors Bot pushed a commit that referenced this pull request

Jul 26, 2026
…leywiser,scottmcm
Closures inherit #[optimize] from the enclosing function by default.
Tracking issue: #54882
Stabilization PR: #157273

@veluca93

This commit stabilizes the `#[optimize]` attribute, which allows for more fine-grained control
of optimization levels.

@veluca93

pull Bot pushed a commit to xtqqczze/rust-lang-miri that referenced this pull request

Jul 27, 2026

Read the original on github.com ↗