WebAssembly / WebAssembly/binaryen

wasm2js: support multiple tables

Open
#7,358 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
8.6k
Forks
885
Avg merge
1d 19h
Merged PRs (30d)
69

Description

Currently wasm2js does not support multiple tables. This is problematic for anyone that has WASM binaries compiled from Rust 1.82+ because the reference-types LLVM feature was enabled by default which results in multiple tables.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the wasm2js implementation and trace how it currently handles tables. Reproduce the issue with a WebAssembly binary compiled from Rust 1.82 or newer, then verify that wasm2js accepts binaries containing multiple tables.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.