aboutsummaryrefslogtreecommitdiffstats
path: root/community/git-interactive-rebase-tool/minimize-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/git-interactive-rebase-tool/minimize-size.patch')
-rw-r--r--community/git-interactive-rebase-tool/minimize-size.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/git-interactive-rebase-tool/minimize-size.patch b/community/git-interactive-rebase-tool/minimize-size.patch
new file mode 100644
index 0000000000..eb3599581a
--- /dev/null
+++ b/community/git-interactive-rebase-tool/minimize-size.patch
@@ -0,0 +1,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"