emscripten-core / emscripten-core/emscripten
Proposal to split linking part of emcc.py into emlink.py
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Today emcc.py act as both the compiler driver and the linker. In the interests of separation of concerns and in order to make emscripten more componentized I've been working on a change to put all the linking logic in emlink.py and have emcc.py call this if needed under the hood.
This change should also allow for other use cases, such as taking an externally built wasm file (from rust, or go, or kotlin, or wasi) and running emlink.py on it in order to "emscriptenize" it and create JS and html around it.
Contributor guide
Assessment
This issue has not been assessed yet.