1
0
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:
Jake McGinty 2022-02-01 12:00:29 +09:00
parent 3055eb7a78
commit 55222fa3b6

View File

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