Skip to content

Avoid emitting extern "C" for private functions #1153

@bjorn3

Description

@bjorn3

There is no need to remain ABI compatible with C for them as they can't be called from C anyway (except for when it is turned into a function pointer, then extern "C" needs to remain), yet does increase the amount of work necessary to clean up the output generated by c2rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions