mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
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:
commit
1840e7a507
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user