-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentation
Description
Problem
Docs are missing the possible values for lto.
I just got to know via #rust irc about
[profile.release]
lto = "fat"
This value isn't listed or documented in the cargo docs.
Steps
- Go to https://doc.rust-lang.org/cargo/reference/config.html#configuration-keys it's not documented
Possible Solution(s)
Document all possible values.
Notes
I was told that lto is enabled by default for release builds, going by the docs that isn't true, is it ?
At least for me it made a difference of ~3 MiB to set lto = "fat"
Metadata
Metadata
Assignees
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentation