Reduce binary size for profile "release"

- Adjust `Cargo.toml`
This commit is contained in:
Candifloss 2025-12-12 18:58:14 +05:30
parent 58ecbd6a75
commit a2b1b1fbfb

View File

@ -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