Update deps and tests for anyref --> externref

* Update to using `wasmparser` 0.55.0
* Update wasmprinter to 0.2.5
* Update `wat` to 1.0.18, and `wast` to 17.0.0
This commit is contained in:
Nick Fitzgerald
2020-05-13 10:26:29 -07:00
parent 0c8c3f588a
commit 1a4f3fb2df
26 changed files with 155 additions and 183 deletions

View File

@@ -1,12 +1,12 @@
(module
(func $imported (import "env" "f") (param i32) (result i32))
(func $local (result anyref anyref funcref funcref)
(func $local (result externref externref funcref funcref)
global.get 0
global.get 1
global.get 2
global.get 3)
(global (export "anyref-imported") anyref (ref.func $imported))
(global (export "anyref-local") anyref (ref.func $local))
(global (export "externref-imported") externref (ref.func $imported))
(global (export "externref-local") externref (ref.func $local))
(global (export "funcref-imported") funcref (ref.func $imported))
(global (export "funcref-local") funcref (ref.func $local)))