Skip to content

no-std support for targets w/o atomics? #2068

@bjoernQ

Description

@bjoernQ

Since 0.23.0 there is support for no-std/alloc which works fine on targets supporting atomics. Some targets however don't have support for atomics and usually the portable-atomic crate is used for that. It seems all the dependencies of Rustls support that but Rustls itself needs alloc::sync::Arc which is not available without atomics.

Is supporting those targets desired? Would a PR adding that something you might consider?

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