]> git.lizzy.rs Git - rust.git/commit
rustbuild: enable an initial local cargo
authorJosh Stone <cuviper@gmail.com>
Thu, 10 Nov 2016 06:18:02 +0000 (22:18 -0800)
committerJosh Stone <cuviper@gmail.com>
Thu, 10 Nov 2016 06:25:17 +0000 (22:25 -0800)
commit0d6323f44d3cd2a132a073e7a92893e777ca11fc
treeae1e0b825ef1abe0df82da76a769d9a527940d27
parentb46ce08df51f95e5d9f6dff9156b1d8e38cf4795
rustbuild: enable an initial local cargo

This allows the initial build of src/bootstrap itself to use a local
cargo taken from `configure --local-rust-root`.  It was already finding
rustc this way, but was always downloading cargo since it didn't know
where to find it.

It now matches the same logic that `config.rs` will use for stage0,
where both rustc and cargo are taken from `CFG_LOCAL_RUST_ROOT`.
src/bootstrap/bootstrap.py