Replies: 1 comment
-
I did find an example similar in purpose using Wasmer here: https://github.com/wasmerio/wasmer/blob/main/examples/features.rs#L56 But syntax-wise it looks less concise as the Wasmtime one - I will attribute it to my lack of knowledge. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to reproduce this Wasmtime example using Wasmer to show a simple case of returning tuples from a WASM function.
Here is my TOML:
, and the used
.wat
file:, and the actual code:
Unfortunately when I build and run, I get this:
whereas, the aforementioned Wasmtime example correctly prints "Swapping 13 43 produces 43 13".
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions