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.
This commit is contained in:
Nils Andreas Svee committed 2026-08-20 12:41:16 +07:00
1 parent 0e23017100
commit 02bad76676
1 file changed
-2
-2
View File
@@ -27,10 +27,8 @@ irtt-stats = { version = "0.5.0", path = "crates/irtt-stats" }
opt-level = "z" opt-level = "z"
lto = true lto = true
codegen-units = 1 codegen-units = 1
panic = "abort"
strip = "symbols" strip = "symbols"
# The profile that 'dist' will build with # The profile that 'dist' will build with
[profile.dist] [profile.dist]
inherits = "release" inherits = "release"
lto = "thin"