Removing strip = true from release profile. (#5166)

* Adding abort on panic to release profile to make binary smaller.

* Remove strip and panic from release profile.
This commit is contained in:
Dessalines 2024-11-06 04:24:49 -05:00 committed by GitHub
parent 298c8fa521
commit d162ec1638
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,10 +24,10 @@ doctest = false
[lints]
workspace = true
# See https://github.com/johnthagen/min-sized-rust for additional optimizations
[profile.release]
debug = 0
lto = "fat"
strip = true # Automatically strip symbols from the binary.
opt-level = 3 # Optimize for speed, not size.
codegen-units = 1 # Reduce parallel code generation.