From 343fc064d4b1a36cb3cb651ef8fddf2dcaf73b08 Mon Sep 17 00:00:00 2001 From: Thomas Avery Date: Tue, 13 Aug 2024 17:29:21 -0500 Subject: [PATCH] Remove release profile changes --- Cargo.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e721d9090..c837032ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,10 +45,7 @@ opt-level = 2 [profile.dev] opt-level = 1 -# Turn on LTO on release mode -[profile.release] -lto = "thin" -codegen-units = 1 + # Stripping the binary reduces the size by ~30%, but the stacktraces won't be usable anymore. # This is fine as long as we don't have any unhandled panics, but let's keep it disabled for now # strip = true