* Update the spec reference testsuite submodule This commit brings in recent updates to the spec test suite. Most of the changes here were already fixed in `wasmparser` with some tweaks to esoteric modules, but Wasmtime also gets a bug fix where where import matching for the size of tables/memories is based on the current runtime size of the table/memory rather than the original type of the table/memory. This means that during type matching the actual value is consulted for its size rather than using the minimum size listed in its type. * Fix now-missing directories in build script
14 lines
335 B
Plaintext
14 lines
335 B
Plaintext
(module
|
|
(table $t 0 funcref)
|
|
(func (export "size") (result i32)
|
|
(table.size $t)
|
|
)
|
|
(func $f (export "grow-by-1") (result i32)
|
|
(table.grow $t (ref.func $f) (i32.const 1))
|
|
)
|
|
)
|
|
|
|
(assert_return (invoke "size") (i32.const 0))
|
|
(assert_return (invoke "grow-by-1") (i32.const 0))
|
|
(assert_return (invoke "size") (i32.const 1))
|