Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dart_wit_component error #60

Open
liutao-liu opened this issue Jun 27, 2024 · 0 comments
Open

dart_wit_component error #60

liutao-liu opened this issue Jun 27, 2024 · 0 comments

Comments

@liutao-liu
Copy link

liutao-liu commented Jun 27, 2024

- 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant