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:
1 file changed
-2
@@ -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"
|
|
||||||
Reference in new issue
Block a user