Skip to content

(jco componentWit) Failed to decode wit component unknown component version #85

@DougAnderson444

Description

@DougAnderson444

Hello,

I am trying to transpile the hello world from bytecodealliance/cargo-component but it seems to be incompatible?

$ jco wit ./target/wasm32-wasi/debug/cargo_comp.wasm

(jco componentWit) ComponentError: Failed to decode wit component
unknown component version: 0xd (at offset 0x0)

I get the same error when I try to jco transpile ... wasm components I've built from wit-bingen and adapted using the preview2 adapter.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions