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:
8
tests/misc_testsuite/externref-id-function.wast
Normal file
8
tests/misc_testsuite/externref-id-function.wast
Normal file
@@ -0,0 +1,8 @@
|
||||
(module
|
||||
(func (export "identity") (param externref) (result externref)
|
||||
local.get 0))
|
||||
|
||||
(assert_return (invoke "identity" (ref.null extern))
|
||||
(ref.null extern))
|
||||
(assert_return (invoke "identity" (ref.extern 1))
|
||||
(ref.extern 1))
|
||||
Reference in New Issue
Block a user