aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.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/command_base.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/command_base.py')
-rw-r--r--python/servo/command_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index e8bad0a742f..abaa643fbb3 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -326,9 +326,9 @@ class CommandBase(object):
def cargo_build_id(self):
if self._cargo_build_id is None:
- filename = path.join(self.context.topdir, "cargo-commit-hash")
+ filename = path.join(self.context.topdir, "rust-commit-hash")
with open(filename) as f:
- self._cargo_build_id = f.read().strip()
+ self._cargo_build_id = "rust-" + f.read().strip()
return self._cargo_build_id
def get_top_dir(self):