From: www-data Date: Sun, 25 Aug 2019 19:18:46 +0000 (+0200) Subject: Add lto in release. X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=commitdiff_plain;h=52bd76e77b5716b4640bb3201d5501878c6aaa8f Add lto in release. --- 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.