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]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
|
# See https://github.com/johnthagen/min-sized-rust for additional optimizations
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = 0
|
debug = 0
|
||||||
lto = "fat"
|
lto = "fat"
|
||||||
strip = true # Automatically strip symbols from the binary.
|
|
||||||
opt-level = 3 # Optimize for speed, not size.
|
opt-level = 3 # Optimize for speed, not size.
|
||||||
codegen-units = 1 # Reduce parallel code generation.
|
codegen-units = 1 # Reduce parallel code generation.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue