-
Notifications
You must be signed in to change notification settings - Fork 93
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
Description of cross build process #287
Comments
There are a couple of examples in the README, or is that not what you are looking for? |
Sorry, I'm all over the place right now, I meant the low level operations that would be needed to replicate what xargo does. I.e. what libraries need to be built to get the minimum functionality to compile rust binaries, how they interrelate, stuff like that. Everyone says libcore has no dependencies but nothing actually seems to be as simple as "just build libcore". |
Oh. For that, no I don't think this is written down anywhere for xargo. But mostly it is preparing an appropriate cargo project and then it lets cargo do the heavy lifting. You can set Moreover, nightly cargo can also build libcore and friends using |
Yeah thanks, I found te environment variable by accident when peeking at sysroot.rs. :D Thanks for mentioning build-std, I'll take a look! If I saw correctly, most of the logic in sysroot is indeed the toml generation, so then the knowledge necessary to come up with that toml. |
Is there a description somewhere, in the rust docs, rfc, something..? that explains what exactly is necessary to do a cross build, or do I have to reverse engineer sysroot.rs?
The text was updated successfully, but these errors were encountered: