chore(release): add some release options to optimize the size of the binary.

This commit is contained in:
vinoca 2024-09-14 10:54:55 +08:00
parent 60f24d2563
commit 0dad298810
No known key found for this signature in database
GPG Key ID: B458FB8F7A690522

View File

@ -6,3 +6,10 @@ members = [
"fake-tcp",
"phantun",
]
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"