Hi, not sure where is the right place for this, but I am currently unable to build a component utilizingwasi-http
with latest released versions of tooling - wit-component
panics during encoding step. Latest git refs do not help from what I can see.
I have opened an issue here https://github.com/bytecodealliance/wasm-tools/issues/967
And I have a reproducer repo here https://github.com/rvolosatovs/wasi-http-guest-repo
Does anyone have an idea about what could be going on and possible fixes? (happy to attempt to fix, but not sure where to start yet)
I have added test cases to both wit-bindgen
and wit-component
with this component and both test cases pass just fine. So far, it does not seem that wit-component
is actually the culprit
Filed a PR with a (temporary) fix https://github.com/WebAssembly/wasi-http/pull/21
Hey thank you for raising the issues! @Luke Wagner could you please take a look?
Based on Pat’s comments here (https://github.com/bytecodealliance/wasmtime/pull/5929#issuecomment-1492230954), we have to wait for the preview1-adapter to get added to the Wasmtime. Basically, we get errors like @Roman Volosatovs reported when mixing both component and module based linkers.
Last updated: Nov 22 2024 at 16:03 UTC