Skip to content

[tracking] browser WASM support #220

Open
@yoshuawuyts

Description

@yoshuawuyts

It'd be cool if async-std worked in the browser out of the box. Not everything can be supported, but we can support a smaller subset.

Tasks

  • no longer fail compilation under the --target wasm32-unknown-unknown target
  • make task::spawn work (use wasm_bindgen_futures::spawn_local)
  • expose stream
  • expose task::sleep
  • patch async-attributes to allow async fn main to work

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    api designOpen design questionsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions