cranelift-wasm: upgrade to wasmparser 0.39.1 (#1068)

Uses new SectionContent api, which is simpler than matching on
SectionCode and then getting the right reader, & avoids possible panics
This commit is contained in:
Pat Hickey
2019-09-23 16:47:13 -07:00
committed by GitHub
parent 947fce194e
commit 4052bc04ee
2 changed files with 30 additions and 40 deletions

View File

@@ -11,7 +11,7 @@ keywords = ["webassembly", "wasm"]
edition = "2018"
[dependencies]
wasmparser = { version = "0.37.0", default-features = false }
wasmparser = { version = "0.39.1", default-features = false }
cranelift-codegen = { path = "../cranelift-codegen", version = "0.43.1", default-features = false }
cranelift-entity = { path = "../cranelift-entity", version = "0.43.1", default-features = false }
cranelift-frontend = { path = "../cranelift-frontend", version = "0.43.1", default-features = false }