From eebe23649ab2742e48ff0d24473c478ee4502a11 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 20 Mar 2018 15:27:45 -0700 Subject: [PATCH] Compile in release mode with LTO on Should help get some nice size savings! --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f09b8c48..84b8b141 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,3 +29,6 @@ members = [ "examples/smorgasboard", "examples/console_log", ] + +[profile.release] +lto = true