-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
Transpiling a WIT component that has fixed size lists e.g. list<u8, 32> in its interface currently fails with:
npx jco transpile some.wasm -o src/generated --no-namespaced-exports
(jco transpile) ComponentError: failed to translate component
Caused by:
Fixed size lists require the component model fixed size list feature (at offset 0x77c8d)
at generate (file:///.../node_modules/@bytecodealliance/jco/obj/js-component-bindgen-component.js:8092:11)
at transpileComponent (file:///.../node_modules/@bytecodealliance/jco/src/cmd/transpile.js:202:39)
at async transpile (file:///.../node_modules/@bytecodealliance/jco/src/cmd/transpile.js:73:23)
at async file:///.../node_modules/@bytecodealliance/jco/src/jco.js:485:1
component generated with: wit-bindgen = "0.52"
version: "@bytecodealliance/jco": "^1.16.0",
Reactions are currently unavailable