Enable LTO for release builds

This commit is contained in:
Matthew Gordon 2019-11-30 11:29:07 -05:00
parent 6f1663f616
commit 1a3d41e6d4
1 changed files with 7 additions and 1 deletions

View File

@ -13,4 +13,10 @@ quickcheck_macros = "0.8"
[dependencies.nalgebra] [dependencies.nalgebra]
version = "0.19" version = "0.19"
features = ["arbitrary"] features = ["arbitrary"]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1