misc: Enable LTO for release builds
This commit is contained in:
parent
c9cb82f8f9
commit
08ef839464
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ rust-version = "1.65"
|
|||
|
||||
[profile.release]
|
||||
debug = true
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
|
Loading…
Reference in a new issue