aports/testing/xh/minimize-size.patch
2022-04-02 11:49:09 +00:00

16 lines
279 B
Diff

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -65,6 +65,12 @@
[build-dependencies]
syntect = { version = "4.4", default-features = false }
+[profile.release]
+codegen-units = 1
+lto = true
+opt-level = "z"
+panic = "abort"
+
[features]
default = ["online-tests"]
online-tests = []