You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile a simple quic-go server and client to WASM, and I'm running into the following problem: sending UDP datagrams fails with an Invalid argument error.
I managed to distill it down to this simple example:
I think your code is correct, and if it works with wasirun there's at least some combination of guest+host that's functional!
A couple of things that may cause the issue:
wasmedge has changed their ABI and we need to adapt wasi-go
there are flags we use in some socket calls that aren't supported by wasmedge
I'd recommend trying to run with some kind of debug logs enabled to trace the host function calls that the program makes, this could provide insight into where things are breaking. For example, with wasirun, this can be done with the --trace option.
Hi guys, author of quic-go here 👋
I'm trying to compile a simple quic-go server and client to WASM, and I'm running into the following problem: sending UDP datagrams fails with an
Invalid argument
error.I managed to distill it down to this simple example:
The above code works when using
wasirun
, but it fails withwasmedge
.Apologies if I'm missing something obvious, or if I opened the issue in the wrong repo. I'm pretty new to WASM.
The text was updated successfully, but these errors were encountered: