Skip to content

Don't distribute stage1 artifacts #14662

Closed
@alexcrichton

Description

@alexcrichton

For what I mean by "stage1 artifact", see this comment. The gist of it is that we don't need to distribute things built by the stage1 compiler, only things built by the stage2 compiler.

The tricky part will be figuring out where the host stage2 artifacts go. We could place them in $prefix/lib, but there's a danger of pollution. We could also only place them in $prefix/lib/rustlib/$host/lib, but then there's a danger of the rustc executable not being able to load these libraries seamlessly via rpath.

Solving this should deal with #13421, #11195, and #13733

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions