Skip to content

Redesign how linking in Rust works #9910

Closed
@brson

Description

@brson

Right now it's very ad-hoc, with users specifying link_args of unspecified format, tied to C compiler implementation, propogating linker arguments between crates. It's a mess. If we don't fix this we're going to end up tied to arbitrary, platform-specific C compiler semantics. Rust should have some sort of linker model baked in that just works for most common cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-FFIArea: Foreign function interface (FFI)A-linkageArea: linking into static, shared libraries and binariesP-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions