Skip to content

Function references support #2551

@zherczeg

Description

@zherczeg

I would like to parse some test files using wabt from the function reference (Phase 5) proposal such as call_ref.wast.

https://github.com/WebAssembly/function-references/blob/main/test/core/call_ref.wast

I have enabled the feature with --enable-function-references.

However, I get errors such as:

call_ref.wast:5:15: error: unexpected token $ii, expected ).
    (call_ref $ii (local.get $x) (local.get $f))
              ^^^

The format of call_ref was changed in:
WebAssembly/function-references@2b194ce

May I ask the status of function reference support in wabt? Do you plan to support these proposal changes?

Thank you very much for the help!

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