I'm doing this:
npx @bytecodealliance/componentize-js@0.18.3 src/index.js --wit wit -o component.wasm -n my-world -d http
but the resulting component still imports wasi:http so it can't run because my host doesn't provide it access to wasi:http.
Note: the component is successfully compiled with no error. You only get an error when trying to execute the component:
component imports instance wasi:http/types@0.2.3, but a matching implementation was not found in the linker
If I run the same with the previous version (0.18.2), everything works fine:
npx @bytecodealliance/componentize-js@0.18.2 src/index.js --wit wit -o component.wasm -n my-world -d http
Since jco recently merged the upgrade to 0.18.3 (bytecodealliance/jco#620), I can't use the latest jco@1.12.0 release either.
Any workaround? Or does this need a new release to fix?
Thank you 🙏
I'm doing this:
but the resulting component still imports
wasi:httpso it can't run because my host doesn't provide it access to wasi:http.Note: the component is successfully compiled with no error. You only get an error when trying to execute the component:
If I run the same with the previous version (0.18.2), everything works fine:
Since
jcorecently merged the upgrade to 0.18.3 (bytecodealliance/jco#620), I can't use the latest jco@1.12.0 release either.Any workaround? Or does this need a new release to fix?
Thank you 🙏