Closed
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"