feat: tune compilation for size
Reduce size by setting `codegen-units = 1` in release mode.
This commit is contained in:
parent
a2735b46b5
commit
e5f7d94f77
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ opt-level = "s"
|
|||
panic = "abort"
|
||||
lto = true
|
||||
strip = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.dev]
|
||||
debug = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue