WebAssembly / WebAssembly/binaryen

Move wasm2js import/export name mangling into a separate optional pass

Open
#3,281 0 comments 0 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

See https://github.com/WebAssembly/binaryen/pull/3216 for background.

With this, users could either mangle or not mangle names when using wasm2js, while right now it is not optional.

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 by reading the background in pull request #3216 and tracing the current wasm2js import/export name-mangling path. Determine how to separate that behavior into an optional pass, then verify that users can choose mangled or unmangled names and that existing wasm2js behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.