Closed gaukas closed 10 months ago
Requiring progress on gaukas/wazero before this issue could be pushed on.
Anything I can help with?
Anything I can help with?
I am trying to putting up a TO-DO list on gaukas/wazero to follow through, I will update you if once I figure something out.
Current progress: rewriting is complete. Now debugging an error which does not occur in wasmtime version.
thread '<unnamed>' panicked at 'unexpected error when polling the I/O driver: Os { code: 58, kind: Uncategorized, message: "Not supported" }', /path/to/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.33.0/src/runtime/io/driver.rs:164:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Current implementation heavily relies on CGO and Rust FFI which are assumed to be problematic in terms of portability and performance.
To eliminate such issues, we plan to switch to a pure Go implementation using a pure Go WebAssembly runtime with WASI support (current candidate: wazero).