From 52bd76e77b5716b4640bb3201d5501878c6aaa8f Mon Sep 17 00:00:00 2001 From: www-data Date: Sun, 25 Aug 2019 21:18:46 +0200 Subject: [PATCH] Add lto in release. --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4608e1c..c2a9538 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,4 +3,9 @@ members = [ "backend", "common", -] \ No newline at end of file +] + +[profile.release] +codegen-units = 1 +lto = true +opt-level = 'z' # Optimize for size. -- 2.45.2