docs(profile): revert wrong statement of lto options' optimization (#15855)

There is no clear winner between fat LTO and ThinLTO, so don't say "from
most to least optimizing" here.

See https://github.com/rust-lang/cargo/pull/15841#discussion_r2281037386
This commit is contained in:
Eric Huss 2025-08-18 17:10:47 +00:00 committed by GitHub
commit 1840e7a507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -166,7 +166,7 @@ The `lto` setting controls `rustc`'s [`-C lto`], [`-C linker-plugin-lto`], and
LTO can produce better optimized code, using whole-program analysis, at the cost LTO can produce better optimized code, using whole-program analysis, at the cost
of longer linking time. of longer linking time.
The valid options from most to least optimizing are: The valid options are:
* `true` or `"fat"`: Performs "fat" LTO which attempts to perform * `true` or `"fat"`: Performs "fat" LTO which attempts to perform
optimizations across all crates within the dependency graph. optimizations across all crates within the dependency graph.