1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/broot/minimize-size.patch
2021-03-28 01:29:02 +01:00

13 lines
318 B
Diff

Minimize size of the binary.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -77,6 +77,8 @@
[profile.release]
lto = true # link time optimization - roughly halves the size of the exec
codegen-units = 1 # this removes a few hundred bytes from the final exec size
+opt-level = "z"
+panic = "abort"
[[bench]]
name = "fuzzy"