1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/bat/minimize-size.patch
2020-11-29 22:34:33 +01:00

10 lines
182 B
Diff

Reduces binary size from 4.2 MiB to 3.3 MiB.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -83,3 +83,5 @@
[profile.release]
lto = true
codegen-units = 1
+opt-level = "z"
+panic = "abort"