joshtriplett · GitHub

This RFC adds a mechanism for crates to *hint* that builds should use
optimization by default, while still allowing the top-level crate to
easily override this.

@joshtriplett added the T-cargo

Relevant to the Cargo team, which will review and decide on the RFC.

label

Feb 23, 2026

@joshtriplett

Kobzol

@joshtriplett

epage

epage

Noratrieb

hanna-kruppe

JarredAllen

tgross35

…zed code
Co-authored-by: nora <48135649+Noratrieb@users.noreply.github.com>
…imum
Particularly relevant for `"*"` overrides.
Crates optimizing for size are likely to want size-over-speed
optimizations in their dependencies as well.
Aiming for an improvement on balance, but it won't be an improvement for
*every* user.

abonander

Open

This should make its way into the documentation of the feature.
…t-level

Open

1 task

@weihanglo

Read the original on github.com ↗