From 8303f5b9263f3dba24cd79202472097f32864b2b Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 18 Jul 2017 23:05:11 +0200 Subject: Update to cargo 0.21.0-nightly (eb6cf012a 2017-07-02) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cargo binaries are now produced on Rust’s CI, not Cargo’s. Remove cargo-commit-hash and find Cargo based on rust-commit-hash. --- python/servo/devenv_commands.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'python/servo/devenv_commands.py') diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index ff70769771a..e66fa7b457d 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -284,21 +284,6 @@ class MachCommands(CommandBase): # Reset self.config["tools"]["rust-root"] self._rust_version = None self.set_use_stable_rust(False) - - self.fetch() - - @Command('cargoup', - description='Update the Cargo version to latest master', - category='devenv') - def cargoup(self): - url = "https://api.github.com/repos/rust-lang/cargo/git/refs/heads/master" - commit = json.load(urllib2.urlopen(url))["object"]["sha"] - filename = path.join(self.context.topdir, "cargo-commit-hash") - with open(filename, "w") as f: - f.write(commit + "\n") - - # Reset self.config["tools"]["cargo-root"] - self._cargo_build_id = None self.set_cargo_root() self.fetch() -- cgit v1.2.3