From 077feed54c0c8f0e53885cf802ad3923d394afcd Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 31 Jan 2018 11:45:26 -0800 Subject: [PATCH] Document string values for LTO --- src/doc/src/reference/manifest.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/doc/src/reference/manifest.md b/src/doc/src/reference/manifest.md index 006abdd49..5985ceb54 100644 --- a/src/doc/src/reference/manifest.md +++ b/src/doc/src/reference/manifest.md @@ -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 -- 2.30.2