From 9c46ced572ec2ed3b6ced0d956580f2becf4f7a1 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Tue, 8 Oct 2019 19:55:49 +0200 Subject: [PATCH] Enable LTO --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 18367d2..c069ea0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,3 +18,7 @@ ctrlc = "3.1" [dependencies.clap] version = "2" features = ["suggestions", "color", "wrap_help"] + +[profile.release] +lto = true +codegen-units = 1