From 231a9fc234eefb3b53e6b07cddbf6933288185c4 Mon Sep 17 00:00:00 2001 From: timvisee Date: Tue, 20 Feb 2018 01:46:31 +0100 Subject: [PATCH] Enable LTO optimizations for release builds --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 782efcf..7748cb8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,6 @@ clap = "2.29" image = "0.18" num_cpus = "1.8" regex = "0.2" + +[profile.release] +lto = true