From d0a9b5ecab4e2d1c9682c835dbcc1f446c592a9f Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Tue, 4 Jun 2024 17:10:28 -0500 Subject: [PATCH] Faster debug builds (#2571) Suggested reading: https://doc.rust-lang.org/cargo/reference/profiles.html#profiles https://doc.rust-lang.org/cargo/reference/profiles.html#debug --- src/wasm-lib/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wasm-lib/Cargo.toml b/src/wasm-lib/Cargo.toml index 221ab1e27..fb8827348 100644 --- a/src/wasm-lib/Cargo.toml +++ b/src/wasm-lib/Cargo.toml @@ -53,6 +53,12 @@ features = [ panic = "abort" debug = true +[profile.dev] +debug = 0 + +[profile.test] +debug = "line-tables-only" + [workspace] members = [ "derive-docs",