Skip to content

Don't export no_mangle symbols from proc macros #99978

Closed

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.

Activity

  1. added
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    I-heavyIssue: Problems and improvements with respect to binary size of generated code.
    on Jul 31, 2022
  2. bjorn3 commented on Dec 1, 2022

    @bjorn3
    MemberAuthor

    Fixed by #99944

  3. bjorn3 commented on Dec 1, 2022

    @bjorn3
    MemberAuthor

    Actually, I need to check if it is actually fixed. Will reopen until I have verified it.

  4. reopened this on Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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