Alex Crichton 057c9157b3
Add test for consuming interface types inputs (#1900)
This commit adds a test suite for consuming interface types modules as
input and producing a JS polyfill output. The tests are relatively
simple today and don't exercise a ton of functionality, but they should
hopefully cover the breadth of at least some basics of what wasm
interface types supports today.

A few small fixes were applied along the way, such as:

* Don't require modules to have a stack pointer

* Allow passing `*.wat`, `*.wit`, or `*.wasm` files as input to
  `wasm-bindgen` instead of always requiring `*.wasm`.
2019-12-04 22:39:57 -06:00

31 lines
1.1 KiB
TOML

[package]
name = "wasm-bindgen-cli-support"
version = "0.2.55"
authors = ["The wasm-bindgen Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rustwasm/wasm-bindgen/tree/master/crates/cli-support"
homepage = "https://rustwasm.github.io/wasm-bindgen/"
documentation = "https://docs.rs/wasm-bindgen-cli-support"
description = """
Shared support for the wasm-bindgen-cli package, an internal dependency
"""
edition = '2018'
[dependencies]
anyhow = "1.0"
base64 = "0.9"
log = "0.4"
rustc-demangle = "0.1.13"
serde_json = "1.0"
tempfile = "3.0"
walrus = "0.14.0"
wasm-bindgen-anyref-xform = { path = '../anyref-xform', version = '=0.2.55' }
wasm-bindgen-multi-value-xform = { path = '../multi-value-xform', version = '=0.2.55' }
wasm-bindgen-shared = { path = "../shared", version = '=0.2.55' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.55' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.55' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.55' }
wit-text = "0.1.1"
wit-walrus = "0.1.0"
wit-validator = "0.1.0"