From 9d8028e04426f8e7f6dd2d44afceabe100c75981 Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Tue, 21 Jul 2020 11:14:20 -0400 Subject: [PATCH] Switch to thin LTO This has about a 25% improvement on release compilation times, at the cost of a <1% runtime performance impact. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index af382165..d8f7c578 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,4 +79,4 @@ path = "src/lib.rs" [profile.dev] opt-level = 2 [profile.release] -lto = true +lto = "thin"