@@ -61,7 +61,7 @@ metrics.
61
61
62
62
This flag instructs LLVM to use [ link time
63
63
optimizations] ( https://llvm.org/docs/LinkTimeOptimization.html ) to produce
64
- better optimized code using whole-program analysis at the cost of longer
64
+ better optimized code, using whole-program analysis, at the cost of longer
65
65
linking time.
66
66
67
67
This flag may take one of the following values:
@@ -74,7 +74,7 @@ This flag may take one of the following values:
74
74
This is similar to "fat", but takes substantially less time to run while
75
75
still achieving performance gains similar to "fat".
76
76
77
- If ` -C lto ` is not specified, then it will attempt to perform "thin local LTO"
77
+ If ` -C lto ` is not specified, then the compiler will attempt to perform "thin local LTO"
78
78
which performs "thin" LTO on the local crate only across its [ codegen
79
79
units] ( #codegen-units ) . In this case, LTO is disabled if codegen units is 1 or
80
80
optimizations are disabled ([ ` -C opt-level=0 ` ] ( #opt-level ) ).
@@ -244,7 +244,7 @@ Increasing parallelism may speed up compile times, but may also produce slower
244
244
code. Setting this to 1 may improve the performance of generated code, but may
245
245
be slower to compile.
246
246
247
- The default if not specified is 16.
247
+ The default, if not specified, is 16.
248
248
249
249
## remark
250
250
@@ -272,7 +272,7 @@ Note: The [`-g` flag][option-g-debug] is an alias for `-C debuginfo=2`.
272
272
273
273
This flag lets you control the optimization level.
274
274
275
- * ` 0 ` : no optimizations, also turn on [ ` cfg(debug_assertions) ` ] ( #debug-assertions ) .
275
+ * ` 0 ` : no optimizations, also turns on [ ` cfg(debug_assertions) ` ] ( #debug-assertions ) .
276
276
* ` 1 ` : basic optimizations
277
277
* ` 2 ` : some optimizations
278
278
* ` 3 ` : all optimizations
@@ -292,7 +292,7 @@ or off. It takes one of the following values:
292
292
* ` y ` , ` yes ` , ` on ` , or no value: Enable debug-assertions.
293
293
* ` n ` , ` no ` , or ` off ` : Disable debug-assertions.
294
294
295
- If not specified, debug assertions are enabled only if the
295
+ If not specified, debug assertions are automatically enabled only if the
296
296
[ opt-level] ( #opt-level ) is 0.
297
297
298
298
## inline-threshold
0 commit comments