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

Prepare files for stage1 building #11

Open
lucab opened this issue Sep 5, 2015 · 0 comments
Open

Prepare files for stage1 building #11

lucab opened this issue Sep 5, 2015 · 0 comments

Comments

@lucab
Copy link
Contributor

lucab commented Sep 5, 2015

First, thanks a lot for this, it's great!

I've voiced for it to get more consideration by upstream, and we plan to actively use it for bootstrap purposes in Debian. I'm trying to use it for offline builds of stage1, and I can currently do it in a hack-ish way.

In particular, I'm trying to lay down all crates in a way that can be later re-used by ./configure+make. The current approach is to use paths overrides, but a better way would be to synthesize a registry index and point entries to local packages.

As such, my wishlist here is to steal some of the functionalities of cargo-vendor, in order to:

  • resolve dependencies and download crates (probably already ok as-is in cargo-bootstrap)
  • arrange paths so that they could be used by both carg-bootstrap and stage1 cargo builds
  • generate a dummy registry pointing to local crates
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