I'm working on a new WASI proposal and I'm implementing an example implementation with wasmtime. I have a correct WIT definition AFAIK and I'm generating the bindings with the bindgen macro. For some reason, the key-data record and key variant didn't generate a corresponding struct/enum. There's an error inside the generated bindgen code "cannot find type "KeyData" in this scope".
I'm working on a new WASI proposal and I'm implementing an example implementation with
wasmtime. I have a correct WIT definition AFAIK and I'm generating the bindings with the bindgen macro. For some reason, thekey-datarecord andkeyvariant didn't generate a corresponding struct/enum. There's an error inside the generated bindgen code "cannot find type "KeyData" in this scope".