Skip to content

Proposal: remove implicit callconv(.C) on extern functions #5269

@tadeokondrak

Description

@tadeokondrak

Currently, these do the same thing:

  1. extern fn foo() void;
  2. extern fn foo() callconv(.C) void;

Callconv didn't exist before, so extern was the only way to mark the calling convention. Now that we have callconv, the implicit calling convention isn't needed anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions