From f41c550bb8c94b7ada5ee08b1c157687bf08078e Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 24 Jul 2025 15:39:16 -0500 Subject: [PATCH] feat: enable basic binary size reduction options --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index db5ad33..1547be9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,12 @@ thiserror = "1.0" anyhow = "1.0" glam = "0.30.4" +[profile.release] +lto = true +panic = "abort" +panic-strategy = "abort" +opt-level = "z" + [target.'cfg(target_os = "windows")'.dependencies.winapi] version = "0.3" features = ["consoleapi", "fileapi", "handleapi", "processenv", "winbase", "wincon", "winnt", "winuser", "windef", "minwindef"]