Skip to content

Unit types for external void functions shouldn't be needed #1817

Description

@adpaco

In #1811 we changed the return type for external void functions to the struct Unit type to avoid type conflicts in CBMC. However, a much cleaner solution would be to support void functions out of the box, which will be required when we add C-FFI support. That would remove the need to return VoidUnit in those functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Z-Kani CompilerIssues that require some changes to the compiler[C] Feature / EnhancementA new feature request or enhancement to an existing feature.

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions