Update to latest walrus, wasmparser, and wasm-webidl-bindings.

This commit is contained in:
Dan Gohman
2019-09-25 22:04:41 -07:00
parent 622a630acd
commit 10845134f7
8 changed files with 11 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ cranelift-frontend = "0.44.0"
wasmtime-runtime = { path="../wasmtime-runtime" }
wasmtime-environ = { path="../wasmtime-environ" }
wasmtime-jit = { path="../wasmtime-jit" }
wasmparser = "0.36"
wasmparser = "0.39.1"
failure = { version = "0.1.3", default-features = false }
failure_derive = { version = "0.1.3", default-features = false }
target-lexicon = { version = "0.8.1", default-features = false }

View File

@@ -189,7 +189,7 @@ impl Module {
&self.binary
}
pub fn validate(_store: &Store, binary: &[u8]) -> bool {
validate(binary, None)
validate(binary, None).is_ok()
}
pub fn imports(&self) -> &[ImportType] {
&self.imports