mirror of
https://github.com/dndx/phantun.git
synced 2025-04-04 11:09:29 +08:00
chore(release): add some release options to optimize the size of the binary.
This commit is contained in:
parent
60f24d2563
commit
0dad298810
@ -6,3 +6,10 @@ members = [
|
|||||||
"fake-tcp",
|
"fake-tcp",
|
||||||
"phantun",
|
"phantun",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
strip = true
|
||||||
|
opt-level = "z"
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
panic = "abort"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user