dhuseby / cargo-bootstrap

Bootstrapping script for Rust Cargo when cross-compilation is difficult or impossible.
BSD 2-Clause "Simplified" License
37 stars 9 forks source link

Prepare files for stage1 building #11

Open lucab opened 9 years ago

lucab commented 9 years ago

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: