From 595961aa51dc9b89a2731867868b771fae878cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sun, 22 Dec 2024 00:39:35 +0100 Subject: [PATCH] fix(webnsupdate): reduce binary size There is no need to compile for speed of execution, this is not a contested component. --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c2308b8..4644551 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,11 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } [dev-dependencies] insta = "1" +[profile.release] +opt-level = "s" +lto = true +strip = true + [profile.dev] debug = 0 codegen-backend = "cranelift"