Skip to content

Investigate using -Zbuild-std #2

@RalfJung

Description

@RalfJung

Right now we are using the xargo approach of building a stdlib -- we create a suitable workspace, fire off a regular cargo build with some special env vars, and copy the result.

That works very well. It might make more sense to use -Zbuild-std instead, which is designed for building the stdlib. My main concern is handling the panic runtimes properly, which did cause some trouble in Miri in the past -- I am honestly not even sure if we do this correctly right now, though, so first we need some tests covering this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions