From ce67b9ba69ffc26a5060e538a41b0826c47b4b6f Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Thu, 30 Jun 2022 13:15:48 -0400 Subject: [PATCH] Enable strong LTO for release builds --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6248b4c..f56d78a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,3 +34,7 @@ fs2 = "0.4.3" [dev-dependencies] quickcheck = "0.9.2" + +[profile.release] +lto=true +codegen-units=1