Skip to content

wasm-bindgen-webidl doesn't seem to support typedefs #498

Closed
@blm768

Description

@blm768

It appears that wasm_bindgen_webidl::compile_ast removes all typedefs via remove_undefined_imports, which prevents typedef bindings from being emitted. This occurs even when working with typedefs that directly reference defined types, such as:

typedef long MyInt;

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontend:webidlIssues related to the WebIDL frontend to wasm-bindgen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions