bevyengine / bevyengine/bevy

Investigate deprecated `heapless::mpmc` usage

Open
#21,819 3 comments 0 reactions 0 assignees View on GitHub
A-Tasks C-Bug D-Modest O-Embedded S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

`heapless` just deprecated their `mpmc` module in a minor version, which broke our `no_std` builds (because we choose to break our break our builds on warnings).

https://github.com/rust-embedded/heapless/issues/583
https://docs.rs/heapless/latest/heapless/mpmc/index.html

We've opted to `allow(deprecated)` in the short term (https://github.com/bevyengine/bevy/pull/21818), but we should investigate this usage and consider alternatives.

Contributor guide

Open the contributing guide

Research direction

Search the repository for heapless::mpmc usage and inspect the no_std build configuration, then review the linked heapless issue and documentation for supported alternatives. Done means the current usage and a viable replacement are documented, with no_std builds no longer requiring the temporary deprecated allowance.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.