Skip to content

Unwasm doesn't work with Emscripten output #56

@brendandahl

Description

@brendandahl

Environment

Node: v19.9.0
Unwasm: 0.3.9

Reproduction

  1. build hello world with emscripten
    emcc -sWASM_ESM_INTEGRATION hello.c -o hello.mjs
  2. Add that hello.mjs to the rollup config and enable unwasm

Describe the bug

The binary fails to parse with
Error: Unexpected instruction: 0xfc03

The wasm-parser package is not being updated with the latest instructions. Strangely, the code exists, but the owner hasn't done a new release.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions