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

11 lines
184 B
Diff

Reduces binary size from 1.4 MiB to 986 kiB.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,3 +44,6 @@
[profile.release]
lto = true
+codegen-units = 1
+opt-level = "z"
+panic = "abort"