Pat Hickey
Pat Hickey
A world is more specific than a library (like wasi-libc) or crate (like `std`, or `fastly`) that uses interfaces available in many different worlds. So, just encoding a wit rather...
Thanks! I just need to write some tests.
This is gated behind `wit-bindgen-gen-host-wasmtime-rust` being rewritten for components
@npmccallum OK, send a PR to fix it then
That makes sense - the wasi runner component (wasi-common, for wasmtime and lucet) can't be compatible with newer versions of WASI than existed when it was created, but we are...
Agreed with Alex that the long term isnt clear, but for now we should start by getting the Rust code generator in this crate working for all proposals. I don't...
Yeah that does look like a bug - should be an `unimplemented` rather than `unreachable`. Its just a case that doesn't happen to occur in WASI at this time. The...
Can't we just `#[derive(Debug)]` on all enums?
oh! my bad. Maybe we should define a `trait WitxDocs { fn docs(&self) -> String }` and generate impls for that?
Yes this has been possible in wasi-common for a few years now. Note that this functionality is going away in the preview 2 implementation, in favor of using component virtualization...