From: Matthias Krüger Date: Thu, 22 Mar 2018 11:36:37 +0000 (+0100) Subject: manifest: update default lto for release and bench to 'thin'. X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~20^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e74ff4db13f2ae00245902cb5b496b3b39128653;p=cargo.git manifest: update default lto for release and bench to 'thin'. --- diff --git a/src/doc/src/reference/manifest.md b/src/doc/src/reference/manifest.md index 7cae02896..1faf982ad 100644 --- a/src/doc/src/reference/manifest.md +++ b/src/doc/src/reference/manifest.md @@ -296,7 +296,7 @@ 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, and if a # string is specified like 'thin' then `-C lto=thin` will - # be passed + # be passed. debug-assertions = true # controls whether debug assertions are enabled # (e.g. debug_assert!() and arithmetic overflow checks) codegen-units = 16 # if > 1 enables parallel code generation which improves @@ -312,7 +312,7 @@ overflow-checks = true # use overflow checks for integer arithmetic. opt-level = 3 debug = false rpath = false -lto = false +lto = 'thin' debug-assertions = false codegen-units = 16 panic = 'unwind' @@ -336,7 +336,7 @@ overflow-checks = true opt-level = 3 debug = false rpath = false -lto = false +lto = 'thin' debug-assertions = false codegen-units = 16 panic = 'unwind'