Increase number of optimizations on release builds. (#101)
This allows us to produce a faster executable (which is useful in shells) at the expense of rarely spending more compilation time upon releasing a new version. I do this in all of my rust projects, perhaps because they are too small for compilation time to really matter. We should measure next time we release and see how that goes.
This commit is contained in:
parent
c02934d184
commit
32c674889f
1 changed files with 5 additions and 0 deletions
|
@ -56,3 +56,8 @@ base64 = "0.13.0"
|
||||||
humantime = "2.1.0"
|
humantime = "2.1.0"
|
||||||
tabwriter = "1.2.1"
|
tabwriter = "1.2.1"
|
||||||
crossbeam-channel = "0.5.1"
|
crossbeam-channel = "0.5.1"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = "fat"
|
||||||
|
codegen-units = 1
|
||||||
|
opt-level = 3
|
||||||
|
|
Loading…
Reference in a new issue