Skip to content

Upgrade wasm-bindgen-test to std::future #1558

Closed
@najamelan

Description

@najamelan

Motivation

Work has been done to start enabling async/await, but the wasm-bindgen-test macro still requires users to return a futures 0.1 future from their test functions. I think it's time we allowed returning a std future.

Proposed Solution

Potentially behind the same futures_0_3 feature as with wasm-bindgen-futures. The relevant code seems to be here.

Alternatives

Wait until it stabelizes completely

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe could use some help fixing this issue!wasm-bindgen-testThe wasm-bindgen-test crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions