From 83ab08f714e2e0ac5b1ecbd3cb410db2bd60d450 Mon Sep 17 00:00:00 2001 From: Luna Razzaghipour Date: Thu, 2 Nov 2023 16:33:22 +1100 Subject: [PATCH] Reduce binary size (#131) * Reduce binary size * Use `opt-level = 3` --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a2efff1..1aebf56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,11 @@ members = ["crates/*"] resolver = "2" +[profile.dev] +panic = "abort" + [profile.release] +panic = "abort" codegen-units = 1 lto = "fat" +strip = true