LTO in release mode by default, which is really critical for C libs

This commit is contained in:
Matt Corallo 2020-05-15 21:27:51 -04:00
parent 76eaa61725
commit af9d1cf776

View file

@ -9,3 +9,7 @@ members = [
# Our tests do actual crypo and lots of work, the tradeoff for -O1 is well worth it
[profile.dev]
opt-level = 1
[profile.release]
opt-level = 3
lto = true