A Bytecode Alliance project
Experimental Rust bindings and generic builtins for SpiderMonkey for the wasm32-wasi
target
- cargo-wasi for testing
- Rust 1.57.0
- WASI-SDK 12 at /opt/wasi-sdk/wasi-sdk-12.0 (can be downloaded by executing
sudo ./update-wasi-sdk.sh
)
git submodule update --recursive --init
to pull in spidermonkey-wasm-buildcd crates/spidermonkey-wasm-sys/spidermonkey-wasm-build && ./download.sh
to pull in SpiderMonkey build artifacts- In
cd crates/spidermonkey-wasm
, run:cargo build
to buildcargo wasi test
to run tests