aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/devenv_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-07-18 23:05:11 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-07-19 00:56:30 +0200
commit8303f5b9263f3dba24cd79202472097f32864b2b (patch)
tree898bd5eb6079f583eea9f11c166e15edc6743c7b /python/servo/devenv_commands.py
parentb0e3005dc798e73142a8bdd4a3b1317350620d49 (diff)
downloadservo-8303f5b9263f3dba24cd79202472097f32864b2b.tar.gz
servo-8303f5b9263f3dba24cd79202472097f32864b2b.zip
Update to cargo 0.21.0-nightly (eb6cf012a 2017-07-02)
Cargo binaries are now produced on Rust’s CI, not Cargo’s. Remove cargo-commit-hash and find Cargo based on rust-commit-hash.
Diffstat (limited to 'python/servo/devenv_commands.py')
-rw-r--r--python/servo/devenv_commands.py15
1 files changed, 0 insertions, 15 deletions
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()