From: Alex Crichton Date: Wed, 31 Jan 2018 19:45:26 +0000 (-0800) Subject: Document string values for LTO X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~3^2~19^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=077feed54c0c8f0e53885cf802ad3923d394afcd;p=cargo.git Document string values for LTO --- 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