From 02bad766768724794a03fbfc15a56a99f049cf9d Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Thu, 20 Aug 2026 12:41:16 +0700 Subject: [PATCH] build: optimize release and distribution profiles Remove the panic abort override and synchronize LTO settings across release and distribution profiles to ensure consistent binary optimization and debugging behavior. --- Cargo.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b49baa2..dc8e2ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,10 +27,8 @@ irtt-stats = { version = "0.5.0", path = "crates/irtt-stats" } opt-level = "z" lto = true codegen-units = 1 -panic = "abort" strip = "symbols" # The profile that 'dist' will build with [profile.dist] inherits = "release" -lto = "thin"