From cccc1949ebabcbc1b336f370847626c9d6774fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 15 Nov 2021 14:36:38 +0900 Subject: [PATCH] Enable thin LTO It compiles about half a second slower for me, so it seems fine to use by default. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 22d292600486..580cccd64a04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,6 @@ members = [ [profile.dev] split-debuginfo = "unpacked" + +[profile.release] +lto = "thin"