Update tests for new anyref syntax

This commit is contained in:
Alex Crichton 2020-05-18 05:02:31 -07:00
parent 6ba8c6c2ec
commit 61e8fc0d38
6 changed files with 7 additions and 7 deletions

View File

@ -25,6 +25,6 @@ wasm-bindgen-shared = { path = "../shared", version = '=0.2.62' }
wasm-bindgen-threads-xform = { path = '../threads-xform', version = '=0.2.62' }
wasm-bindgen-wasm-conventions = { path = '../wasm-conventions', version = '=0.2.62' }
wasm-bindgen-wasm-interpreter = { path = "../wasm-interpreter", version = '=0.2.62' }
wit-text = "0.1.1"
wit-text = "0.6.0"
wit-walrus = "0.2.0"
wit-validator = "0.1.0"

View File

@ -36,7 +36,7 @@ rayon = "1.0"
tempfile = "3.0"
walrus = "0.16"
wit-printer = "0.1"
wit-text = "0.1"
wit-text = "0.6"
wit-validator = "0.1"
wit-walrus = "0.2"

View File

@ -1,7 +1,7 @@
(module
(type (;0;) (func))
(import "./reference_test_bg.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
(table (;0;) 32 anyref)
(table (;0;) 32 externref)
(memory (;0;) 16)
(export "memory" (memory 0))
(export "__wbindgen_export_0" (table 0))

View File

@ -6,7 +6,7 @@
(func $__wbindgen_exn_store (type 2) (param i32))
(func $__anyref_table_alloc (type 1) (result i32))
(func $exported (type 0))
(table (;0;) 32 anyref)
(table (;0;) 32 externref)
(memory (;0;) 17)
(export "memory" (memory 0))
(export "exported" (func $exported))

View File

@ -2,7 +2,7 @@
(type (;0;) (func))
(import "./reference_test_bg.js" "__wbindgen_init_anyref_table" (func (;0;) (type 0)))
(func $foo (type 0))
(table (;0;) 32 anyref)
(table (;0;) 32 externref)
(memory (;0;) 17)
(export "memory" (memory 0))
(export "foo" (func $foo))

View File

@ -1,6 +1,6 @@
(module
(type (;0;) (func (param anyref anyref) (result anyref)))
(func $anyref_in_out anyref shim (type 0) (param anyref anyref) (result anyref))
(type (;0;) (func (param externref externref) (result externref)))
(func $anyref_in_out anyref shim (type 0) (param externref externref) (result externref))
(memory (;0;) 17)
(export "memory" (memory 0))
(export "anyref_in_out" (func $anyref_in_out anyref shim))