mirror of
https://github.com/sharkdp/fd
synced 2024-11-02 07:51:38 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -53,3 +53,7 @@ libc = "0.2"
|
|||
diff = "0.1"
|
||||
tempdir = "0.3"
|
||||
filetime = "0.2.1"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
|
Loading…
Reference in a new issue