From 0077b29ef8d26011b2e44736c5f3bbade7cd84e3 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Mon, 22 Sep 2025 20:16:17 +0000 Subject: [PATCH] switch-to-configuration-ng: Enable full LTO for release profile --- pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml b/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml index 4055b3c595ac..9b241150d643 100644 --- a/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml +++ b/pkgs/by-name/sw/switch-to-configuration-ng/src/Cargo.toml @@ -5,6 +5,12 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[profile.release] +codegen-units = 1 +opt-level = 3 +lto = true + [dependencies] anyhow = "1.0.82" dbus = "0.9.7"