1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/mcfly/minimize-size.patch
2021-03-15 22:13:33 +01:00

15 lines
196 B
Diff

Minimize binary size.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,10 @@
]
[profile.release]
+codegen-units = 1
lto = true
+opt-level = "z"
+panic = "abort"
[profile.dev]
debug = true