Update parity-wasm dependency

While doing this, make `parity-wasm` a public dependency of all crates
instead of using the `Any` trick as that's not really needed any more.
This commit is contained in:
Alex Crichton
2018-10-08 10:01:53 -07:00
parent e3e5c0f57d
commit 79e4324a3b
7 changed files with 9 additions and 38 deletions

View File

@ -18,7 +18,7 @@ docopt = "1.0"
env_logger = "0.5"
failure = "0.1.2"
log = "0.4"
parity-wasm = "0.32"
parity-wasm = "0.34"
rouille = { version = "2.1.0", default-features = false }
serde = "1.0"
serde_derive = "1.0"

View File

@ -126,7 +126,7 @@ fn rmain() -> Result<(), Error> {
let mut b = Bindgen::new();
b.debug(debug)
.nodejs(node)
.input_module(module, wasm, |w| parity_wasm::serialize(w).unwrap())
.input_module(module, wasm)
.keep_debug(false)
.generate(&tmpdir)
.context("executing `wasm-bindgen` over the wasm file")?;