Skip to content

Complete basic support for wasm32-wasip2 #3607

Open
@RalfJung

Description

@RalfJung

The goal is to get this command to pass:

./miri test --target wasm32-wasip2 empty_main integer vec string btreemap hello hashmap heap_alloc align

I think all that's missing here is

  • support for printing to stdout/stderr
  • support for getting randomness

(Also, we're looking for a target maintainer for wasm, so please let us know if you're up to that -- basically someone we'd ping when there are wasm questions, and in case std starts using a new wasm API we'd hope they would be able to provide a Miri implementation.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-shimsArea: This affects the external function shimsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions