Merge pull request #178 from SoapyDev/issue_170_improve-speed

Reduce the weight of the produced binary for faster start time
This commit is contained in:
Chris Titus 2024-09-04 17:09:33 -05:00 committed by GitHub
commit 80274117ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,3 +24,14 @@ chrono = "0.4.33"
[[bin]] [[bin]]
name = "linutil" name = "linutil"
path = "src/main.rs" path = "src/main.rs"
[profile.release]
opt-level = 3
debug = false
lto = true
codegen-units = 1
panic = "abort"
strip = true
incremental = false