From e84804c7f0b203527df265c31a7f5876ecc147d9 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 19 Jun 2019 18:50:56 +0200 Subject: [PATCH] Enable link-time optimization for release builds This makes binaries slightly smaller, at the cost of longer build times. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5f78174..65362a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,6 @@ features = ["suggestions", "color", "wrap_help"] [dev-dependencies] approx = "0.3" + +[profile.release] +lto = true