Reduce binary size for profile "release"
- Adjust `Cargo.toml`
This commit is contained in:
parent
58ecbd6a75
commit
a2b1b1fbfb
@ -13,3 +13,10 @@ path = "src/prettyprompt.rs"
|
|||||||
[[bin]]
|
[[bin]]
|
||||||
name = "prettyprompt-pwd"
|
name = "prettyprompt-pwd"
|
||||||
path = "src/prettyprompt_pwd.rs"
|
path = "src/prettyprompt_pwd.rs"
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = "z"
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
panic = "abort"
|
||||||
|
strip = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user