Skip to content

WebAssembly Core 3: implement typed function references end to end #384

Description

@chrisbbreuer

Parent: #366
Related: #267, #142
Roadmap: #134

The exact wg-3.0 typed-function-reference boundary is implemented without weakening the profile.

Acceptance:

  • Decode both opcodes and preserve their type-index immediates.
  • Validate operand/reference subtyping, nullability, result types, and tail-call result compatibility exactly.
  • Execute direct typed references with null and signature-mismatch traps.
  • Cover GC relocation and cross-module canonical function-reference identity.
  • Pass every command in the exact wg-3.0 typed-function-reference files, including call_ref.wast and return_call_ref.wast.
  • Add focused unit and bounded upstream-corpus CI evidence.

Delivered in b8e4b2f and af1d2e1.

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