From aa878f7569119b58e1ee70d78778e63c911cf5f7 Mon Sep 17 00:00:00 2001 From: Ulyssa Date: Wed, 28 Feb 2024 22:31:00 -0800 Subject: [PATCH] Move LTO into its own "release-lto" profile (#207) --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 826e486..f9e3db5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,9 +78,10 @@ features = ["macros", "net", "rt-multi-thread", "sync", "time"] lazy_static = "1.4.0" pretty_assertions = "1.4.0" -[profile.release] -lto = true +[profile.release-lto] +inherits = "release" incremental = false +lto = true [features] default = ["sixel"]