Skip to content

[witx] Annotate no-return functions #126

@sunfishcode

Description

@sunfishcode

proc_exit doesn't return, and in generated C bindings should use _Noreturn, and in Rust should return !. It'd be good to add an annotation to witx to indicate such functions.

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