aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/devenv_commands.py
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-07-18 15:57:07 -0700
committerGitHub <noreply@github.com>2017-07-18 15:57:07 -0700
commitd403f404382c66485d9744787ce021556be59d6c (patch)
tree28003b4ae778160cd515fddd8a9bf6b9269d2e4a /python/servo/devenv_commands.py
parent38e808645292a1e4e9264937b979137b194c2196 (diff)
parent8303f5b9263f3dba24cd79202472097f32864b2b (diff)
downloadservo-d403f404382c66485d9744787ce021556be59d6c.tar.gz
servo-d403f404382c66485d9744787ce021556be59d6c.zip
Auto merge of #17780 - servo:cargoup, r=nox,SimonSapin
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. Unfortunately, Cargo binaries are not available for every Cargo PR anymore: https://github.com/rust-lang/cargo/pull/4123#issuecomment-316201869 <!-- 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/17780) <!-- Reviewable:end -->
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()