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/std | |
| 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/std')
| -rw-r--r-- | examples/std/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/std/Cargo.toml b/examples/std/Cargo.toml index 92933ab50..42adede10 100644 --- a/examples/std/Cargo.toml +++ b/examples/std/Cargo.toml | |||
| @@ -23,3 +23,6 @@ clap = { version = "3.0.0-beta.5", features = ["derive"] } | |||
| 23 | rand_core = { version = "0.6.3", features = ["std"] } | 23 | rand_core = { version = "0.6.3", features = ["std"] } |
| 24 | heapless = { version = "0.7.5", default-features = false } | 24 | heapless = { version = "0.7.5", default-features = false } |
| 25 | static_cell = { version = "1.1", features = ["nightly"]} | 25 | static_cell = { version = "1.1", features = ["nightly"]} |
| 26 | |||
| 27 | [profile.release] | ||
| 28 | debug = 2 | ||
