1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/fd/minimize-size.patch

10 lines
187 B
Diff

This reduces binary size from 2.4 MiB to 1.7 MiB.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -72,3 +72,5 @@
[profile.release]
lto = true
codegen-units = 1
+opt-level = "z"
+panic = "abort"