aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/devenv_commands.py
diff options
context:
space:
mode:
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()