aports/community/procs/minimize-size.patch
2021-11-17 00:31:52 +01:00

10 lines
192 B
Diff

Minimize size of the resulting binary: 4020 -> 2976 kiB
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -77,3 +77,5 @@
[profile.release]
lto = true
codegen-units = 1
+opt-level = "z"
+panic = "abort"