emscripten-core / emscripten-core/emscripten

"Native" emscripten build environment

Open
#14,453 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Emscripten should figure out a way to provide an execution environment with the following features:

- posix_spawn/system, using filesystem emulation and unsafe-eval if needed (to load wasm modules from the emulated filesystem).

This would enable building and running thngs like make and uname *in* emscripten, which in turn plays nicer with build systems, which in turn makes it possible to build more stuff. And because it's not seen as cross-compilation, the build system can avoid making assumptions such as whether fork works, and it can also generate artifacts as needed (e.g. libgcrypt/libgpg-error need to generate some stuff on the host machine, which isn't really possible with cross-compilation).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.