Skip to content

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

build: add `release-debug` profile (#1342)

Steve Kurch54db7f3ebfcc
diff --git a/Cargo.toml b/Cargo.toml
index 73ce47416..712abc268 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,3 +13,9 @@ opt-level = 3
# Stripping binaries triggers a bug in `wasm-opt`.
# Disable it for now.
# strip = true
+
+# Release profile with debug info.
+# Useful for debugging and profiling.
+[profile.release-debug]
+inherits = "release"
+debug = 2