Skip to content

dart_wit_component error #60

@liutao-liu

Description

@liutao-liu

- wasm-tools component new ./target/wasm32-wasi/debug/dart_wit_component.wasm -o dart_wit_component_component_wasi.wasm --adapt ./wasi_snapshot_preview1.wasm

After this command is executed according to the readme, the following error is reported:

wasm-tools component new ./target/wasm32-wasi/debug/dart_wit_component.wasm -o dart_wit_component_component_wasi.wasm --adapt ./wasi_snapshot_preview1.wasm

error: decoding custom section component-type:dart-wit-generator

Caused by:
    0: invalid leading byte (0x6c) for component defined type (at offset 0xda)

my env: Ubuntu 20.04.6 LTS aarch64
repository branch: main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions