Skip to content

Commit 0b34dd3

Browse files
authored
Reorder lto options in profiles.md
1 parent c204194 commit 0b34dd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/src/reference/profiles.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,14 @@ of longer linking time.
168168

169169
The valid options are:
170170

171-
* `false`: Performs "thin local LTO" which performs "thin" LTO on the local
172-
crate only across its [codegen units](#codegen-units). No LTO is performed
173-
if codegen units is 1 or [opt-level](#opt-level) is 0.
174171
* `true` or `"fat"`: Performs "fat" LTO which attempts to perform
175172
optimizations across all crates within the dependency graph.
176173
* `"thin"`: Performs ["thin" LTO]. This is similar to "fat", but takes
177174
substantially less time to run while still achieving performance gains
178175
similar to "fat".
176+
* `false`: Performs "thin local LTO" which performs "thin" LTO on the local
177+
crate only across its [codegen units](#codegen-units). No LTO is performed
178+
if codegen units is 1 or [opt-level](#opt-level) is 0.
179179
* `"off"`: Disables LTO.
180180

181181
See the [linker-plugin-lto chapter] if you are interested in cross-language LTO.

0 commit comments

Comments
 (0)