Skip to content

Commit a8e4afd

Browse files
committed
Disable lto to get probe-run location information
1 parent d048ff9 commit a8e4afd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ defmt-error = ["defmt"]
149149
# cargo build/run
150150
[profile.dev]
151151
debug = 2
152-
lto = true
152+
# Disabled until https://github.com/knurling-rs/defmt/issues/649 is fixed
153+
# lto = true
153154

154155
# cargo test
155156
[profile.test]
@@ -159,7 +160,8 @@ opt-level = 3 # <-
159160
# cargo build/run --release
160161
[profile.release]
161162
debug = 2
162-
lto = true
163+
# Disabled until https://github.com/knurling-rs/defmt/issues/649 is fixed
164+
# lto = true
163165
opt-level = "s"
164166

165167
# cargo test --release

0 commit comments

Comments
 (0)