misc: Enable LTO for release builds

This commit is contained in:
Kévin Commaille 2023-03-16 10:55:01 +01:00
parent c9cb82f8f9
commit 08ef839464
No known key found for this signature in database
GPG key ID: DD507DAE96E8245C

View file

@ -7,6 +7,8 @@ rust-version = "1.65"
[profile.release]
debug = true
lto = true
codegen-units = 1
[profile.dev.package."*"]
opt-level = 3