mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-02 00:13:53 +00:00
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:
parent
444a1e08ea
commit
88b86b6123
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user