Skip to content

Async parsing issue #2240

@morenol

Description

@morenol

I have a WASM file produced by building a rust project with wit-bindgen 0.42.1 for target wasm32-wasip2

If I run this with wasm-tools 1.224.1, it succeeds

% wasm-tools validate df_expr_guest.wasm --features component-model-async

If I run it, using 1.225 or any newer version

wasm-tools validate df_expr_guest.wasm --features component-model-async
error: unexpected end-of-file (at offset 0x30d49)

Issue started once I enabled async: true, on wit-bindgen generate! macro

Not sure if this is an issue for wit-bindgen, or for wasm-tools

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