Skip to content

Don't export no_mangle symbols from proc macros #99978

Closed
@bjorn3

Description

@bjorn3

#99944 will hide all non-no_mangle symbols, but given that proc macros will only be loaded by rustc, we can hide all symbols except the specific ones that rustc needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-proc-macrosArea: Procedural macrosI-heavyIssue: Problems and improvements with respect to binary size of generated code.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions