WebAssembly / WebAssembly/tool-conventions

Use the build_id (or something else) to split name section

Open
#186 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
WebAssembly
Stars
372
Forks
75
PR merge metrics
No merged PRs in 30d

Description

Similar to https://github.com/WebAssembly/tool-conventions/issues/133, it would be nice to be able to serve a wasm file without a name section, but have it associated with a wasm file that has a name section. In particular this would be useful for developers profiling or getting stack traces from a wasm file in production.

I'm not sure if build_id is the right mechanism for this, or perhaps a custom section with a private URL. Any thoughts?

Contributor guide

No contributing guide indexed for this repository

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 reviewing the related tool-conventions issue 133 and the alternatives named here: build_id or a custom section with a private URL. Define how a production wasm file without a name section would associate with a separate file containing names, and document the convention needed for profiling and stack traces.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.