diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index 88449ebc..acc70829 100644 --- a/crates/cli-support/Cargo.toml +++ b/crates/cli-support/Cargo.toml @@ -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" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index edc7b97e..c5926423 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -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" diff --git a/crates/cli/tests/reference/anyref-empty.wat b/crates/cli/tests/reference/anyref-empty.wat index 42c8e96c..8e334879 100644 --- a/crates/cli/tests/reference/anyref-empty.wat +++ b/crates/cli/tests/reference/anyref-empty.wat @@ -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)) diff --git a/crates/cli/tests/reference/anyref-import-catch.wat b/crates/cli/tests/reference/anyref-import-catch.wat index 236e0902..fa730f6f 100644 --- a/crates/cli/tests/reference/anyref-import-catch.wat +++ b/crates/cli/tests/reference/anyref-import-catch.wat @@ -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)) diff --git a/crates/cli/tests/reference/anyref-nop.wat b/crates/cli/tests/reference/anyref-nop.wat index 76b2e259..ad819270 100644 --- a/crates/cli/tests/reference/anyref-nop.wat +++ b/crates/cli/tests/reference/anyref-nop.wat @@ -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)) diff --git a/crates/cli/tests/reference/interface-types-anyref.wat b/crates/cli/tests/reference/interface-types-anyref.wat index e3d4e62b..0f7e3603 100644 --- a/crates/cli/tests/reference/interface-types-anyref.wat +++ b/crates/cli/tests/reference/interface-types-anyref.wat @@ -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))