mirror of
https://github.com/tonarino/innernet.git
synced 2025-02-07 13:42:19 +02:00
meta: optimize release binary for size
saves over 2MB of total post-strip binary size on linux
This commit is contained in:
parent
3055eb7a78
commit
55222fa3b6
@ -3,4 +3,6 @@ members = ["server", "client", "hostsfile", "shared", "publicip", "netlink-reque
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = "thin"
|
||||
opt-level = "s"
|
||||
lto = "fat"
|
||||
panic = "abort"
|
||||
|
Loading…
x
Reference in New Issue
Block a user