build: Improve release binary optimization (#527)
This commit is contained in:
parent
cc68dec795
commit
364f3a3564
|
@ -49,6 +49,10 @@ yaml-rust = "0.4"
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
codegen-units = 1
|
||||||
|
lto = true
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "starship"
|
name = "starship"
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
Loading…
Reference in New Issue