Update wasmparser to 0.59.0 (#2013)
This commit is intended to update wasmparser to 0.59.0. This primarily includes bytecodealliance/wasm-tools#40 which is a large update to how parsing and validation works. The impact on Wasmtime is pretty small at this time, but over time I'd like to refactor the internals here to lean more heavily on that upstream wasmparser refactoring. For now, though, the intention is to get on the train of wasmparser's latest `main` branch to ensure we get bug fixes and such. As part of this update a few other crates and such were updated. This is primarily to handle the new encoding of `ref.is_null` where the type is not part of the instruction encoding any more.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
(module
|
||||
(func (export "func_is_null") (param funcref) (result i32)
|
||||
(ref.is_null func (local.get 0))
|
||||
(ref.is_null (local.get 0))
|
||||
)
|
||||
(func (export "func_is_null_with_non_null_funcref") (result i32)
|
||||
(call 0 (ref.func 0))
|
||||
)
|
||||
(func (export "extern_is_null") (param externref) (result i32)
|
||||
(ref.is_null extern (local.get 0))
|
||||
(ref.is_null (local.get 0))
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Submodule tests/spec_testsuite updated: 21a10bc594...d2163dace0
Reference in New Issue
Block a user