Reduce binary size for profile "release"
- Adjust `Cargo.toml`
This commit is contained in:
parent
58ecbd6a75
commit
a2b1b1fbfb
@ -12,4 +12,11 @@ path = "src/prettyprompt.rs"
|
||||
|
||||
[[bin]]
|
||||
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