Enable link-time optimization for release builds

This makes binaries slightly smaller, at the cost of longer build times.
This commit is contained in:
Hugo Locurcio 2019-06-19 18:50:56 +02:00 committed by David Peter
parent 0006e90084
commit e84804c7f0

View File

@ -33,3 +33,6 @@ features = ["suggestions", "color", "wrap_help"]
[dev-dependencies] [dev-dependencies]
approx = "0.3" approx = "0.3"
[profile.release]
lto = true