Skip to content

Refactor librustc_back to support arbitrary linkers #20764

Closed
@retep998

Description

@retep998

Currently librustc_back is hardcoded to use a certain method of linking which makes it extremely inflexible for supporting other linkers such as link.exe. It needs to be refactored somehow such that a flexible target spec can specify what linker implementation to use.

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.C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions