aboutsummaryrefslogtreecommitdiffstats
path: root/community/git-interactive-rebase-tool/minimize-size.patch
blob: eb3599581a53199033afd730979646dea2db7327 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"