3 releases
0.1.2 | Jan 24, 2023 |
---|---|
0.1.1 | Jan 5, 2023 |
0.1.0 | Mar 4, 2022 |
#511 in WebAssembly
151 downloads per month
Used in quickjs-wasm-rs
3MB
87K
SLoC
quickjs-wasm-sys: Wasm QuickJS bindings for Rust
FFI bindings for a Wasm build of the QuickJS Javascript engine.
Building this crate
- Install the wasi-sdk for your platform
- Set the
QUICKJS_WASM_SYS_WASI_SDK_PATH
environment variable to the absolute path where you installed thewasi-sdk
For example, if you install the wasi-sdk
in /opt/wasi-sdk
, you can run:
export QUICKJS_WASM_SYS_WASI_SDK_PATH=/opt/wasi-sdk
Publishing to crates.io
To publish this crate to crates.io, run ./publish.sh
.