From 5f9636aa12287c7d6daa48bab9ba93333844751d Mon Sep 17 00:00:00 2001 From: Alexander Zaitsev Date: Sat, 12 Oct 2024 16:05:28 +0300 Subject: [PATCH] feat: enable LTO --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index dee1170..af90ad1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,6 +61,9 @@ logind = ["dep:logind-zbus", "dep:nix", "dep:zbus"] packagekit = ["dep:packagekit-zbus"] wgpu = ["libcosmic/wgpu"] +[profile.release] +lto = "fat" + [profile.release-with-debug] inherits = "release" debug = true @@ -77,4 +80,4 @@ members = ["flathub-stats"] # appstream = { path = "../../appstream" } # [patch.'https://github.com/jackpot51/spdx.git'] -# spdx = { path = "../../spdx" } \ No newline at end of file +# spdx = { path = "../../spdx" }