Update wasm-tools crates (#5945)
This notably updates `wasmparser` for updates to the relaxed-simd proposal and an implementation of the function-references proposal. Additionally there are some minor bug fixes being picked up for WIT and the component model.
This commit is contained in:
@@ -244,17 +244,17 @@
|
||||
(export "" (func $import))
|
||||
))
|
||||
))
|
||||
(func $export (export "thunk") (result u32)
|
||||
(func $export (export "thunk2") (result u32)
|
||||
(canon lift (core func $reexport "thunk"))
|
||||
)
|
||||
)
|
||||
|
||||
(instance $c1 (instantiate $c (with "thunk" (func $root))))
|
||||
(instance $c2 (instantiate $c (with "thunk" (func $c1 "thunk"))))
|
||||
(instance $c3 (instantiate $c (with "thunk" (func $c2 "thunk"))))
|
||||
(instance $c4 (instantiate $c (with "thunk" (func $c3 "thunk"))))
|
||||
(instance $c5 (instantiate $c (with "thunk" (func $c4 "thunk"))))
|
||||
(instance $c6 (instantiate $c (with "thunk" (func $c5 "thunk"))))
|
||||
(instance $c2 (instantiate $c (with "thunk" (func $c1 "thunk2"))))
|
||||
(instance $c3 (instantiate $c (with "thunk" (func $c2 "thunk2"))))
|
||||
(instance $c4 (instantiate $c (with "thunk" (func $c3 "thunk2"))))
|
||||
(instance $c5 (instantiate $c (with "thunk" (func $c4 "thunk2"))))
|
||||
(instance $c6 (instantiate $c (with "thunk" (func $c5 "thunk2"))))
|
||||
|
||||
(component $verify
|
||||
(import "thunk" (func $thunk (result u32)))
|
||||
@@ -276,7 +276,7 @@
|
||||
))
|
||||
))
|
||||
)
|
||||
(instance (instantiate $verify (with "thunk" (func $c6 "thunk"))))
|
||||
(instance (instantiate $verify (with "thunk" (func $c6 "thunk2"))))
|
||||
)
|
||||
|
||||
;; Fancy case of an adapter using an adapter. Note that this is silly and
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
(export "a" (global i32))
|
||||
))
|
||||
|
||||
(component (export "c")
|
||||
(component (export "c2")
|
||||
(export "m" (core module $c))
|
||||
)
|
||||
)
|
||||
@@ -278,8 +278,8 @@
|
||||
(instance $c1 (instantiate $c (with "c" (core module $m1))))
|
||||
(instance $c2 (instantiate $c (with "c" (core module $m2))))
|
||||
|
||||
(instance $m1_container (instantiate (component $c1 "c")))
|
||||
(instance $m2_container (instantiate (component $c2 "c")))
|
||||
(instance $m1_container (instantiate (component $c1 "c2")))
|
||||
(instance $m2_container (instantiate (component $c2 "c2")))
|
||||
|
||||
(core instance $core1 (instantiate (module $m1_container "m")))
|
||||
(core instance $core2 (instantiate (module $m2_container "m")))
|
||||
|
||||
Reference in New Issue
Block a user