bytecodealliance / spidermonkey-wasm-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spidermonkey-wasm-rs

A Bytecode Alliance project

Experimental Rust bindings and generic builtins for SpiderMonkey for the wasm32-wasi target

build status

Requirements

  • 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)

Development

  • git submodule update --recursive --init to pull in spidermonkey-wasm-build
  • cd crates/spidermonkey-wasm-sys/spidermonkey-wasm-build && ./download.sh to pull in SpiderMonkey build artifacts
  • In cd crates/spidermonkey-wasm, run:
    • cargo build to build
    • cargo wasi test to run tests

About


Languages

Language:Rust 88.1%Language:C++ 9.9%Language:Shell 2.0%