Update wasm-tools crates (#2773)

Brings in some fuzzing-related bug-fixes
This commit is contained in:
Alex Crichton
2021-03-25 18:44:31 -05:00
committed by GitHub
parent 654156714c
commit 211731b876
13 changed files with 34 additions and 33 deletions

View File

@@ -12,7 +12,7 @@ keywords = ["webassembly", "wasm"]
edition = "2018"
[dependencies]
wasmparser = { version = "0.76", default-features = false }
wasmparser = { version = "0.77", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.72.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.72.0" }
cranelift-frontend = { path = "../frontend", version = "0.72.0", default-features = false }

View File

@@ -131,6 +131,7 @@ pub fn translate_module<'data>(
name: "name",
data,
data_offset,
range: _,
} => {
let result = NameSectionReader::new(data, data_offset)
.map_err(|e| e.into())