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

How to use a custom std #83

Open
vinaychandra opened this issue Jun 9, 2020 · 1 comment
Open

How to use a custom std #83

vinaychandra opened this issue Jun 9, 2020 · 1 comment

Comments

@vinaychandra
Copy link

xbuild currently compiles core and alloc and puts in the custom sysroot. Is it possible to put a custom std in that location and compile it?

The idea is that we can provide a minimal custom std so that crates that need std can be compiled without changing their code.

@phil-opp
Copy link
Member

phil-opp commented Jun 9, 2020

This is not supported currently and I don't think that we will add a feature like this, given that this crate is likely replaced by the -Zbuild-std feature of cargo soon (also see rust-lang/wg-cargo-std-aware#7 for a discussion about custom standard libraries with -Zbuild-std).

As far as I know, the xargo project does support building a custom standard library, so maybe that works for you.

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

2 participants