Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

build: `panic = abort` and `lto = fat` for release (#2572)

Steve Kurch63cebadfcf2f
diff --git a/Cargo.toml b/Cargo.toml
index b6e50b2e1..a69753a14 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,6 +10,8 @@ opt-level = 3
[profile.release]
opt-level = 3
+panic = "abort"
+lto = "fat"
# Stripping binaries triggers a bug in `wasm-opt`.
# Disable it for now.
# strip = true