Skip to content

Add matches method to ValType and FuncType #1746

@Robbepop

Description

@Robbepop

Blocked by #774.

Wasmi currently has PartialEq and Eq derives on FuncType for comparisons.
After function-references Wasm proposal support has been added, those trait impls need to be removed as they do not support sub-typing. Instead, we need to add the following methods, as done in Wasmtime:

cc @BoilingFusion

Metadata

Metadata

Assignees

No one assigned

    Labels

    wasmtime-mirrorIssue for a use case of a missing API that exists in Wasmtime.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions