WIP: Improve Emscripten support - #5259
Conversation
|
@QuantumSegfault: This seems like a viable approach - basing Emscripten on your WASI work, after reading https://v8.dev/blog/emscripten-standalone-wasm and noting that they apparently try to use WASI APIs as much as possible, even in non-standalone-wasm mode. To get the druntime test runners to link, I only had to avoid a single undefined |
|
I'm not sure this makes sense to do like this. Emscripten use a more vanilla Musl, without all of the differences to the headers WASI-libc made. They opted to stub out functions, rather than remove them, and otherwise use the unmodified types, constants, etc. (other than where architecture specific differences are concerned). A lot of the
|
Based on WASI.