Skip to content

Commit 55695e2

Browse files
Update heapless requirement from 0.8 to 0.9 (#21670)
# Objective - Closes #21610 ## Solution - Updated code to account for breaking changes in `heapless` 0.9. ## Testing - cargo check + tests --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent a223c1a commit 55695e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/bevy_tasks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async-channel = { version = "2.3.0", default-features = false }
6161
async-task = { version = "4.4.0", default-features = false, features = [
6262
"portable-atomic",
6363
] }
64-
heapless = { version = "0.8", default-features = false, features = [
64+
heapless = { version = "0.9", default-features = false, features = [
6565
"portable-atomic",
6666
] }
6767
atomic-waker = { version = "1", default-features = false, features = [

crates/bevy_tasks/src/edge_executor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ struct State<const C: usize> {
449449
target_has_atomic = "64",
450450
target_has_atomic = "ptr"
451451
)))]
452-
queue: heapless::mpmc::MpMcQueue<Runnable, C>,
452+
queue: heapless::mpmc::Queue<Runnable, C>,
453453
waker: AtomicWaker,
454454
}
455455

@@ -471,7 +471,7 @@ impl<const C: usize> State<C> {
471471
target_has_atomic = "64",
472472
target_has_atomic = "ptr"
473473
)))]
474-
queue: heapless::mpmc::MpMcQueue::new(),
474+
queue: heapless::mpmc::Queue::new(),
475475
waker: AtomicWaker::new(),
476476
}
477477
}

0 commit comments

Comments
 (0)