From 5c4815fb151002851c79a033634f252c77694341 Mon Sep 17 00:00:00 2001 From: spinline Date: Fri, 30 Jan 2026 01:40:45 +0300 Subject: [PATCH] chore: Enable aggressive binary size optimization --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 2314225..e163116 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,11 @@ [workspace] members = ["backend", "frontend"] resolver = "2" + +# Optimize for size (aggressive) +[profile.release] +opt-level = "z" +lto = true +codegen-units = 1 +panic = "abort" +strip = true