Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate using -Zbuild-std #2

Open
RalfJung opened this issue Oct 3, 2022 · 0 comments
Open

Investigate using -Zbuild-std #2

RalfJung opened this issue Oct 3, 2022 · 0 comments

Comments

@RalfJung
Copy link
Owner

RalfJung commented Oct 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant