mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-22 19:01:32 +00:00
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:
parent
298c8fa521
commit
d162ec1638
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue