meta: optimize release binary for size

saves over 2MB of total post-strip binary size on linux
pull/194/head
Jake McGinty 2022-02-01 12:00:29 +09:00
parent 3055eb7a78
commit 55222fa3b6
1 changed files with 3 additions and 1 deletions

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"