From d6430f855ffac3b73ce8d26b14f5edaf0cd91bfa Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 13 Oct 2024 21:43:34 -0400 Subject: [PATCH] Enable thin LTO for release builds See https://doc.rust-lang.org/cargo/reference/profiles.html#release for the release profile's defaults and https://doc.rust-lang.org/cargo/reference/profiles.html#lto for an explanation of link time optimizations (LTO). --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 526c8b8..7b832af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,4 +71,5 @@ tokio-test = "0.4.2" [profile.release] debug = true +lto = "thin" split-debuginfo = "packed"