Skip to content

Commit 1840e7a

Browse files
authored
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 #15841 (comment)
2 parents dd69fab + bff04ca commit 1840e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/profiles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The `lto` setting controls `rustc`'s [`-C lto`], [`-C linker-plugin-lto`], and
166166
LTO can produce better optimized code, using whole-program analysis, at the cost
167167
of longer linking time.
168168

169-
The valid options from most to least optimizing are:
169+
The valid options are:
170170

171171
* `true` or `"fat"`: Performs "fat" LTO which attempts to perform
172172
optimizations across all crates within the dependency graph.

0 commit comments

Comments
 (0)