aboutsummaryrefslogblamecommitdiffstats
path: root/community/bat/minimize-size.patch
blob: 7b198dfdb4e4fc52fcbc6e4249b224bd137e5f58 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                            
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"