Error linking to function that takes a GC array ref. #9848
Labels
bug
Incorrect behavior in the current implementation that needs fixing
wasm-proposal:gc
Issues with the implementation of the gc wasm proposal
wasmtime:ref-types
Issues related to reference types and GC in Wasmtime
I'm getting this error:
The wasm looks like this:
And I'm registering the function like this:
Test Case
Steps to Reproduce
Create an Engine and Linker.
Bind a function which accepts an ArrayRef as a parameter.
Attempt to load the script.
Expected Results
Script should load without error (it loads if I delete the code that calls the host func).
Actual Results
Error when I attempt to instantiate the script.
Versions and Environment
Wasmtime version or commit:
{ version = "27.0.0", features = ["gc", "gc-drc"] }
Operating system: OS X
Architecture: M2
The text was updated successfully, but these errors were encountered: