aboutsummaryrefslogtreecommitdiffstats
path: root/community/fd/minimize-size.patch
blob: b4c92f667863eafad217717d78ca3aa3b74dcaf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
This reduces binary size from 2.4 MiB to 1.7 MiB.

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -76,6 +76,8 @@ test-case = "1.2"
 [profile.release]
 lto = true
 codegen-units = 1
+opt-level = "z"
+panic = "abort"