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

View File

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