Enable link-time optimization in release builds

This gives a significant improvement to runtime performance, at the cost of somewhat worse compile times.
This commit is contained in:
Benjamin Fox 2018-10-12 16:26:27 +03:00 committed by David Peter
parent 8543ca645d
commit b98f0783ff

View file

@ -53,3 +53,7 @@ libc = "0.2"
diff = "0.1"
tempdir = "0.3"
filetime = "0.2.1"
[profile.release]
lto = true
codegen-units = 1