WebAssembly / WebAssembly/wasi-sdk

Remove unsupported libc++ modules from module.modulemap

Open
#253 1 comment 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 "import std" (using C++ 20xx modules) results in a bunch of errors, as the module.modulemap includes several unsupported std APIs (mostly related to synchronization). Simply commenting out the unsupported APIs from the module.modulemap is sufficient to fix the errors. Would maybe be nice to do this by default.

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 locating module.modulemap in the wasi-sdk tree and reproduce the errors from trying to import std with C++ modules. Identify the unsupported APIs mentioned in the issue, comment them out, and verify that the import no longer produces those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
compilers
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.