Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

portable-atomic support for alloc::sync in tracing-core #3173

Open
edisno opened this issue Dec 8, 2024 · 0 comments
Open

portable-atomic support for alloc::sync in tracing-core #3173

edisno opened this issue Dec 8, 2024 · 0 comments

Comments

@edisno
Copy link

edisno commented Dec 8, 2024

Feature Request

I want to use bevy_reflect on no_std rp2040. This platform has alloc, but not atomics, so alloc::sync is missing. bevy_relflect has a hard depency on tracing, and I'd like to use tracing on this platform also.

Crates

tracing-core
portable-atomic
bevy_reflect

Motivation

Want to use tracing-core on no_std rp2040 without hardware atomics

Proposal

Since alloc::sync is missing on some no_std platforms, and the "portable-atomic" crate is a drop-in replacement for alloc::sync, integrate portable-atomic.

Alternatives

None that I know of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant