Skip to content

RFC: remove linkage attributes #8523

Closed
Closed
@catamorphism

Description

@catamorphism

#[link(name="foo", version="3.1415927", uuid=xxxxxxxx)] is an artifact of the pre-rustpkg days. rustpkg infers the link name from the package ID, and the version from version control if it's available. @graydon and I suggest that we warn if linkage attributes are present, and eventually start ignoring them as well as warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)A-linkageArea: linking into static, shared libraries and binaries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions