aboutsummaryrefslogtreecommitdiffstats
path: root/community/czkawka/minimize-size.patch
blob: 7232dc97d3ef49d2c0a9674a30036de7d601bc73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,5 +4,8 @@
     "czkawka_cli",
     "czkawka_gui",
 ]
-#[profile.release]
-#lto = true
\ No newline at end of file
+[profile.release]
+codegen-units = 1
+lto = true
+opt-level = "z"
+panic = "abort"