Auto merge of #17815 - servo:bootstrap, r=nox

Fix bootstrapping during `mach rustup` without system cargo

https://travis-ci.org/servo/servo-with-rust-nightly/builds/255611949#L989

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17815)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-07-21 05:00:56 -07:00 committed by GitHub
commit 3854e8f174

View file

@ -284,6 +284,9 @@ class MachCommands(CommandBase):
# Reset self.config["tools"]["rust-root"]
self._rust_version = None
self.set_use_stable_rust(False)
# Reset self.config["tools"]["cargo-root"]
self._cargo_build_id = None
self.set_cargo_root()
self.fetch()