-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
I'm doing this:
npx @bytecodealliance/componentize-js@0.18.3 src/index.js --wit wit -o component.wasm -n my-world -d httpbut 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 httpSince 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 🙏
Metadata
Metadata
Assignees
Labels
No labels