emscripten-sys

Crates.ioemscripten-sys
lib.rsemscripten-sys
version0.3.2
sourcesrc
created_at2017-02-27 14:10:03.814845
updated_at2017-05-07 13:31:12.80833
descriptionEmscripten API bindings for Rust
homepage
repositoryhttps://github.com/gifnksm/emscripten-sys
max_upload_size
id8713
size17,981
NAKASHIMA, Makoto (gifnksm)

documentation

README

Emscripten API bindings for Rust

Build Status crates.io

Documentation

Usage

Add the following dependencies to your Cargo.toml:

[target.'cfg(target_os = "emscripten")'.dependencies]
emscripten-sys = "0.3"

How to build

. <path to emsdk>/emsdk_env.sh
cargo build --target asmjs-unknown-emscripten

How to test

cargo test --target asmjs-unknown-emscripten --no-run
node target/asmjs-unknown-emscripten/debug/emscripten_sys-*.js
Commit count: 17

cargo fmt