mirror of https://github.com/sharkdp/fd.git
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:
parent
8543ca645d
commit
b98f0783ff
|
@ -53,3 +53,7 @@ libc = "0.2"
|
||||||
diff = "0.1"
|
diff = "0.1"
|
||||||
tempdir = "0.3"
|
tempdir = "0.3"
|
||||||
filetime = "0.2.1"
|
filetime = "0.2.1"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
|
Loading…
Reference in New Issue