Enable lto in release versions.

lto makes exa slightly faster and much smaller. I specify the other
options to make them explicit.

Note: lto makes compiling take quite a bit longer.
This commit is contained in:
Steven Allen 2015-02-22 20:05:21 -05:00
parent 444a1e08ea
commit 88b86b6123

View File

@ -22,6 +22,11 @@ bitflags = "0.1"
default = [ "git" ] default = [ "git" ]
git = [ "git2" ] git = [ "git2" ]
[profile.release]
opt-level = 3
debug = false
lto = true
[dependencies.git2] [dependencies.git2]
version = "0.1.13" version = "0.1.13"
optional = true optional = true