build: Improve release binary optimization (#527)

This commit is contained in:
yuri 2019-10-13 06:33:47 +02:00 committed by Matan Kushner
parent cc68dec795
commit 364f3a3564
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ yaml-rust = "0.4"
[dev-dependencies]
tempfile = "3.1.0"
[profile.release]
codegen-units = 1
lto = true
[[bin]]
name = "starship"
path = "src/main.rs"