Skip to content

nb is incompatible with async/await which is now in stable #19

Closed
@therealprof

Description

@therealprof

As noticed when trying to change embedded-hal to edition 2018, a number of examples using the nb::await! macro fail to compile: rust-embedded/embedded-hal#167

However async/await is currently not available in no_std due to the implicit use of TLS.

Can we come up with some workaround might would us to unbreak the use of the primitives provided by this crate or should we leave nb unchanged and remove the offending examples until async/await becomes usable?

cc @japaric
cc @Nemo157
cc @no111u3

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