From 5363cd0a155de6252565085391888b64086005a1 Mon Sep 17 00:00:00 2001 From: "[object Object]" Date: Fri, 24 Mar 2023 11:59:18 -0700 Subject: [PATCH] Optimize release builds (#51) --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 6ca178ddd..93e03389b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,9 @@ members = [ "theseus_cli", "theseus_gui/src-tauri" ] + +# Optimize for speed and reduce size on release builds +[profile.release] +codegen-units = 1 +lto = true +strip = true \ No newline at end of file