mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 14:27:36 +03:00
dadcff15ef
This commit adds an example of executing the `wasm2asm` tool to generate asm.js output instead of WebAssembly. This is often useful when supporting older browsers, such as IE 11, that doesn't have native support for WebAssembly.
15 lines
369 B
TOML
15 lines
369 B
TOML
[package]
|
|
name = "asmjs"
|
|
version = "0.1.0"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# Here we're using a path dependency to use what's already in this repository,
|
|
# but you'd use the commented out version below if you're copying this into your
|
|
# project.
|
|
wasm-bindgen = { path = "../.." }
|
|
#wasm-bindgen = "0.2"
|