-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
https://blog.rust-lang.org/inside-rust/2025/07/15/call-for-testing-hint-mostly-unused/
Seems very appropriate for k8s-openapi.
[hints]
mostly-unused = trueApparently this is also backward-compatible with old cargo that doesn't support the hint:
Note that setting a hint does not increase the Minimum Supported Rust Version (MSRV) of your crate. Hints are always ignored if not understood. So, you can safely set this hint immediately, without waiting for this feature to be stabilized, and users of nightly will immediately benefit (if they pass -Zprofile-hint-mostly-unused to cargo to enable the feature).
Need to test that, ie ensure that this does not trip up stable.
If this works it will also fix #77
Metadata
Metadata
Assignees
Labels
No labels