Skip to content

RFC: #[no_mangle] #4395

Closed
Closed
@pcwalton

Description

@pcwalton

SDL wants you to define a function called SDL_main. We currently have no way to request that an extern function name not be mangled. Does an attribute for this make sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)A-linkageArea: linking into static, shared libraries and binariesC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions