Fix bootstrapping during mach rustup without system cargo

https://travis-ci.org/servo/servo-with-rust-nightly/builds/255611949#L989
This commit is contained in:
Simon Sapin 2017-07-21 13:57:07 +02:00
parent 06b409ad60
commit d0a2f7bcbe

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()