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

14 lines
347 B
Diff

Minimize size of the resulting binary.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -62,3 +62,9 @@
["CHANGELOG.md", "usr/share/doc/interactive-rebase-tool/", "644"],
["src/interactive-rebase-tool.1", "usr/share/man/man1/interactive-rebase-tool.1", "644"]
]
+
+[profile.release]
+codegen-units = 1
+lto = true
+opt-level = "z"
+panic = "abort"