Skip to content

Make a new attribute for the #[link_name = ""] special case #1296

Closed
@brson

Description

@brson

[link_name = ""] is used to tell rustc not to issue the -L linker flag. This is a special case of the link_name flag so let's replace it with its own attribute, like #[nolink].

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions