enable lto and codegen-units optimizations
This commit is contained in:
parent
99fa3fb873
commit
9e6a5f67ff
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@ edition = "2021"
|
|||
[lints.rust]
|
||||
dead_code = "allow"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[dependencies]
|
||||
log = "0.4.22"
|
||||
env_logger = "0.11.5"
|
||||
|
|
Loading…
Reference in a new issue