From ec9389ff3ce61e91e0bf3d535cbcd6a7c94327a4 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sun, 24 Jul 2022 16:46:12 -0600 Subject: [PATCH] Enable link-time optimization for release builds --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index bff75c2..348352a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,9 @@ name = "gsm-agent" version = "0.1.0" edition = "2021" +[profile.release] +lto = true + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies]