Skip to content

Commit 830a01e

Browse files
authored
Merge pull request embassy-rs#4350 from 9names/rp_profiles
Minimise build profile tweaking in rp/rp235x examples
2 parents 93a8435 + 39c9cbc commit 830a01e

2 files changed

Lines changed: 4 additions & 13 deletions

File tree

examples/rp/Cargo.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,5 @@ rand = { version = "0.9.0", default-features = false }
5858
embedded-sdmmc = "0.7.0"
5959

6060
[profile.release]
61-
debug = 2
62-
lto = true
63-
opt-level = 'z'
64-
65-
[profile.dev]
66-
debug = 2
67-
lto = true
68-
opt-level = "z"
61+
# Enable generation of debug symbols even on release builds
62+
debug = true

examples/rp235x/Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ portable-atomic = { version = "1.5", features = ["critical-section"] }
5757
log = "0.4"
5858
embedded-sdmmc = "0.7.0"
5959

60-
[profile.dev]
61-
debug = 2
62-
6360
[profile.release]
64-
lto = true
65-
opt-level = "z"
61+
# Enable generation of debug symbols even on release builds
62+
debug = true

0 commit comments

Comments
 (0)