From f3e6c112408c3211af6f06716270f424e84ba1eb Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Fri, 20 Aug 2021 11:49:03 -0400 Subject: [PATCH] enable link time optimization for release builds --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 12672c4..e6d2daa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,3 +42,7 @@ thiserror = "1.0.26" [dev-dependencies] tempdir = "0.3" proptest = "1" + +[profile.release] +opt-level = 3 +lto = true