-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusion about table with anyref #42
Comments
Version Information:
|
Wasmtime doesn't have full |
Yes it looks like Like @fitzgen said though the |
In the meantime though I think this is otherwise working as expected, so I'm going to close in favor of bytecodealliance/wasmtime#285 |
I've also opened up rustwasm/wasm-bindgen#1992 to track wasm-bindgen's removal of the table if it's not needed. |
If you still want to play around with it |
I'm trying to use cargo wasi in conjunction with wasmtime and I'm having difficulties, because I'd like to use the wasm interface types. For example I have a simple rust lib:
When I compile it with
cargo wasi build --release
, I get the Webassembly module (printed withwasmprinter
):However, the table with anyref generated always seems to throw an error. Specifically with
wasmtime::Config.wasm_reference_types
enabled:I don't know if this is expected behavior, and I'm also confused on why the table is generated in the first place. Any help and explanation would be greatly appreciated
The text was updated successfully, but these errors were encountered: