WebAssembly / WebAssembly/wasi-sdk

strip errors for ComponentizeJS output

Open
#638 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CMake
Stars
1.6k
Forks
237
Avg merge
18h 26m
Merged PRs (30d)
5

Description

Trying to get the .wasm file size output by componentize-js decreased from the current 13.4 MiB.

/media/user/x/wasi-sdk-33.0-x86_64-linux/bin/strip nm_componentize_js.wasm
/media/user/x/wasi-sdk-33.0-x86_64-linux/bin/strip: error: 'nm_componentize_js.wasm': invalid version number: 65549

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 reproducing the wasi-sdk strip command against nm_componentize_js.wasm and inspect how the ComponentizeJS output is produced. Determine why strip rejects the file's version number; done means the generated .wasm can be stripped successfully and its size is reduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
wasm
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.