aboutsummaryrefslogtreecommitdiffstats
path: root/community/exa/minimize-size.patch
blob: e61e99cdfbab9fa9de3eb7ac572faf5b6c450971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Minimize size of the resulting binary: 834 -> 634 kiB.

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -60,6 +60,9 @@
 # use LTO for smaller binaries (that take longer to build)
 [profile.release]
 lto = true
+codegen-units = 1
+opt-level = "z"
+panic = "abort"
 
 
 [package.metadata.deb]