mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 20:41:24 +00:00
Update tests for new anyref syntax
This commit is contained in:
@ -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"
|
||||
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
@ -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))
|
||||
|
Reference in New Issue
Block a user