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 attempting to compile guest functions using wasm32-unknown-unknown, but I'd like to use the Component model. Trying to parse a guest function as a Component does not work without wasm32-wasip2.
I don't want to use wasm32-wasip2 because I need to define all of my host interfaces.
The wasm32-wasip2 target passes the Module emitted by rustc to wasm-component-ld which wraps up the Component conversion performed above, plus some details to adapt wasip1 interfaces to wasip2, which you don't care about.
I'm attempting to compile guest functions using
wasm32-unknown-unknown
, but I'd like to use the Component model. Trying to parse a guest function as a Component does not work withoutwasm32-wasip2
.I don't want to use
wasm32-wasip2
because I need to define all of my host interfaces.Client:
Host fails when parsing wasm byte array:
When I compile with
wasm32-unknown-unknown
, it says"attempted to parse a wasm module with a component parser"
.When I compile with
wasm32-wasip2
, it fails on WASI interfaces I'm not adding to the linker.The text was updated successfully, but these errors were encountered: