Skip to content

Don't ship duplicate sets of libraries #39875

@alexcrichton

Description

@alexcrichton

Today when you install Rust by default you get duplicate sets of libraries at $sysroot/lib and $sysroot/lib/rustlib/$host/lib, for example:

$ find . -name libproc_macro-* | xargs shasum
2453aab91f0cd5e77b9f514d5df15be7b4ec965e  ./lib/libproc_macro-2641322a715c6559.dylib
2453aab91f0cd5e77b9f514d5df15be7b4ec965e  ./lib/rustlib/x86_64-apple-darwin/lib/libproc_macro-2641322a715c6559.dylib

We should avoid duplicating these libraries! Unfortunately I'm not sure of the best method of doing so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions