Add LTO and codegen-units=1 to release compile options

This commit is contained in:
Loïc Lecrenier 2022-08-23 13:03:57 +02:00
parent ea365126b4
commit 72f8adaa70
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ members = [
"permissive-json-pointer",
]
[profile.release]
codegen-units = 1
lto = "thin"
[profile.dev.package.flate2]
opt-level = 3