diff --git a/servo/appveyor.yml b/servo/appveyor.yml index 109c8aca8978..7955a4fadf6d 100644 --- a/servo/appveyor.yml +++ b/servo/appveyor.yml @@ -39,8 +39,8 @@ platform: - x64 cache: - - .servo -> rust-nightly-date, cargo-nightly-build - - .cargo -> rust-nightly-date, cargo-nightly-build + - .servo -> rust-nightly-date, cargo-commit-hash + - .cargo -> rust-nightly-date, cargo-commit-hash install: - if %TARGET:*-msvc=msvc%==msvc set BUILD_ENV=msvc diff --git a/servo/cargo-commit-hash b/servo/cargo-commit-hash new file mode 100644 index 000000000000..8092107d38a9 --- /dev/null +++ b/servo/cargo-commit-hash @@ -0,0 +1 @@ +5e3221eac240f1e2c719524ea3c15fde9329dec2 diff --git a/servo/cargo-nightly-build b/servo/cargo-nightly-build deleted file mode 100644 index 759d0344f7bb..000000000000 --- a/servo/cargo-nightly-build +++ /dev/null @@ -1 +0,0 @@ -2016-10-27 diff --git a/servo/python/servo/bootstrap_commands.py b/servo/python/servo/bootstrap_commands.py index 8df023045294..9bc7c60fd4ae 100644 --- a/servo/python/servo/bootstrap_commands.py +++ b/servo/python/servo/bootstrap_commands.py @@ -295,7 +295,7 @@ class MachCommands(CommandBase): os.makedirs(cargo_dir) tgz_file = "cargo-nightly-%s.tar.gz" % host_triple() - nightly_url = "https://static-rust-lang-org.s3.amazonaws.com/cargo-dist/%s/%s" % \ + nightly_url = "https://s3.amazonaws.com/rust-lang-ci/cargo-builds/%s/%s" % \ (self.cargo_build_id(), tgz_file) download_file("Cargo nightly", nightly_url, tgz_file) diff --git a/servo/python/servo/command_base.py b/servo/python/servo/command_base.py index f43e4917dd3d..9fc797b28f9f 100644 --- a/servo/python/servo/command_base.py +++ b/servo/python/servo/command_base.py @@ -336,7 +336,7 @@ class CommandBase(object): def cargo_build_id(self): if self._cargo_build_id is None: - filename = path.join(self.context.topdir, "cargo-nightly-build") + filename = path.join(self.context.topdir, "cargo-commit-hash") with open(filename) as f: self._cargo_build_id = f.read().strip() return self._cargo_build_id