aports/community/handlr/minimize-size.patch
2021-09-04 00:51:52 +02:00

15 lines
207 B
Diff

Reduce binary size.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,5 +29,7 @@
aho-corasick = "0.7.15"
[profile.release]
-opt-level=3
-lto=true
+codegen-units = 1
+lto = true
+opt-level = "z"
+panic = "abort"