diff options
| author | Piotr Esden-Tempski <[email protected]> | 2023-07-26 18:32:40 -0700 |
|---|---|---|
| committer | Piotr Esden-Tempski <[email protected]> | 2023-07-26 18:32:40 -0700 |
| commit | 858ddf6777d6df0e8c02921d29cd6a8095a7cdad (patch) | |
| tree | 9cb7352469aea66ff666c403f25ffde9b174e2a1 /examples/wasm | |
| parent | 77e34c5e8a7d31eac6fdc144a329027a0ce731a5 (diff) | |
Added debug=2 in release profile to all examples.
This makes rtt output work right when using `cargo run` in release mode.
Debug was already enabled for release builds in some of the examples but
not all.
Diffstat (limited to 'examples/wasm')
| -rw-r--r-- | examples/wasm/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/wasm/Cargo.toml b/examples/wasm/Cargo.toml index 3679e3857..2791cc341 100644 --- a/examples/wasm/Cargo.toml +++ b/examples/wasm/Cargo.toml | |||
| @@ -17,3 +17,6 @@ wasm-bindgen = "0.2" | |||
| 17 | web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] } | 17 | web-sys = { version = "0.3", features = ["Document", "Element", "HtmlElement", "Node", "Window" ] } |
| 18 | log = "0.4.11" | 18 | log = "0.4.11" |
| 19 | critical-section = { version = "1.1", features = ["std"] } | 19 | critical-section = { version = "1.1", features = ["std"] } |
| 20 | |||
| 21 | [profile.release] | ||
| 22 | debug = 2 | ||
