WebAssembly / WebAssembly/wabt

wasm2c supporting threads and other features

Open
#1,766 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
8.1k
Forks
827
Avg merge
4d 6h
Merged PRs (30d)
18

Description

Hi there,

I was trying to convert a WASM to C when wasm2c exited saying that the WASM file used threads.

Would it be possible to enable this feature in wasm2c?

Thanks

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 at the wasm2c entry point and trace how it handles a WebAssembly file that uses threads, including the path that reports the current failure. Review the existing wasm2c feature boundaries before deciding what support would require. Done should mean the requested thread-using WebAssembly input is converted successfully, with behavior verified by the project's relevant tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.