Make binaries faster on release profile through better compile options

This commit is contained in:
Loïc Lecrenier 2022-08-16 20:50:08 +02:00
parent 293a246af8
commit 03e679b634
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ opt-level = 3
[profile.release]
debug = true
codegen-units = 1
lto = "thin"
# Make sure that the build scripts and proc-macros are compiled with
# all the optimizations. It speeds up the zip crate that we use in the build.rs.