Document string values for LTO
authorAlex Crichton <alex@alexcrichton.com>
Wed, 31 Jan 2018 19:45:26 +0000 (11:45 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 31 Jan 2018 19:45:26 +0000 (11:45 -0800)
src/doc/src/reference/manifest.md

index 006abdd49642f17e8af99444aaf0ecfa9b4e92aa..5985ceb544acfc96703bcacdfc8a795462c7d491 100644 (file)
@@ -294,7 +294,9 @@ rpath = false      # controls whether compiler should set loader paths.
                    # If true, passes `-C rpath` flag to the compiler.
 lto = false        # Link Time Optimization usually reduces size of binaries
                    # and static libraries. Increases compilation time.
-                   # If true, passes `-C lto` flag to the compiler.
+                   # If true, passes `-C lto` flag to the compiler, and if a
+                   # string is specified like 'thin' then `-C lto=thin` will
+                   # be passed
 debug-assertions = true # controls whether debug assertions are enabled
                    # (e.g. debug_assert!() and arithmetic overflow checks)
 codegen-units = 1  # if > 1 enables parallel code generation which improves