mirror of
https://github.com/eza-community/eza
synced 2024-09-15 22:20:24 +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" ]
|
||||
git = [ "git2" ]
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
debug = false
|
||||
lto = true
|
||||
|
||||
[dependencies.git2]
|
||||
version = "0.1.13"
|
||||
optional = true
|
||||
|
|
Loading…
Reference in a new issue