Skip to content

Decouple #[link_name = ""] and #[link_args] #1295

Closed
@brson

Description

@brson

When link_name == "" we don't try to link the native library, which we primarily use to link to libc. As a side-effect this causes any link_args to not be emitted. These two things should not be coupled, since one might want to suppress the automatic -L argument to the linker while supplying their own.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesE-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