Update to latest walrus, wasmparser, and wasm-webidl-bindings.
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user