Skip to content

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

Closed
@edisno

Description

@edisno

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions