This is an experiment in implementing shared-everything linking using the WebAssembly component model proposal. It uses a modified version of wasi-sdk and wasm-tools.
Prerequisites:
Note that the make
step will take quite a while the first time you run it since it needs to build LLVM, wasi-libc, CPython, Wasmtime, wit-bindgen, and wasm-tools. Subsequent builds should be quite fast, though.
git submodule update --init --recursive
make