mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Fetch "alt" rust std build when we do so for rustc
This commit is contained in:
parent
7b82d3b97b
commit
6b523302e1
1 changed files with 5 additions and 2 deletions
|
@ -135,8 +135,11 @@ class MachCommands(CommandBase):
|
||||||
% (version, target_triple))
|
% (version, target_triple))
|
||||||
tgz_file = install_dir + ('rust-std-%s-%s.tar.gz' % (version, target_triple))
|
tgz_file = install_dir + ('rust-std-%s-%s.tar.gz' % (version, target_triple))
|
||||||
else:
|
else:
|
||||||
std_url = ("https://s3.amazonaws.com/rust-lang-ci/rustc-builds/%s/rust-std-nightly-%s.tar.gz"
|
tarball = "%s/rust-std-nightly-%s.tar.gz" % (version, target_triple)
|
||||||
% (version, target_triple))
|
base_url = "https://s3.amazonaws.com/rust-lang-ci/rustc-builds"
|
||||||
|
if not self.config["build"]["llvm-assertions"]:
|
||||||
|
base_url += "-alt"
|
||||||
|
std_url = base_url + "/" + tarball
|
||||||
tgz_file = install_dir + ('rust-std-nightly-%s.tar.gz' % target_triple)
|
tgz_file = install_dir + ('rust-std-nightly-%s.tar.gz' % target_triple)
|
||||||
|
|
||||||
download_file("Host rust library for target %s" % target_triple, std_url, tgz_file)
|
download_file("Host rust library for target %s" % target_triple, std_url, tgz_file)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue