Update the spec reference testsuite submodule (#3450)
* 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
This commit is contained in:
13
tests/misc_testsuite/table_grow_with_funcref.wast
Normal file
13
tests/misc_testsuite/table_grow_with_funcref.wast
Normal file
@@ -0,0 +1,13 @@
|
||||
(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))
|
||||
Reference in New Issue
Block a user