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

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