From 79c3fff7d0b0e965e5e75d04c03a5bb56b257702 Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Sat, 12 Oct 2024 13:58:52 +0300 Subject: [PATCH] feat: enable LTO --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 38d86739..35facf98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -81,6 +81,9 @@ wgpu = ["libcosmic/wgpu"] [profile.dev] opt-level = 1 +[profile.release] +lto = "fat" + [profile.release-with-debug] inherits = "release" debug = true