mirror of
https://github.com/servo/servo.git
synced 2025-06-26 10:04:33 +01:00
Switch to commit-specific nightlies
This commit is contained in:
parent
216a89f776
commit
336e6c8f28
9 changed files with 11 additions and 10 deletions
|
@ -86,9 +86,10 @@ class MachCommands(CommandBase):
|
|||
# in that directory).
|
||||
if stable:
|
||||
tarball = "rustc-%s-%s.tar.gz" % (version, host_triple())
|
||||
rustc_url = "https://static-rust-lang-org.s3.amazonaws.com/dist/" + tarball
|
||||
else:
|
||||
tarball = "%s/rustc-nightly-%s.tar.gz" % (version, host_triple())
|
||||
rustc_url = "https://static-rust-lang-org.s3.amazonaws.com/dist/" + tarball
|
||||
rustc_url = "https://s3.amazonaws.com/rust-lang-ci/rustc-builds/" + tarball
|
||||
tgz_file = rust_dir + '-rustc.tar.gz'
|
||||
|
||||
download_file("Rust compiler", rustc_url, tgz_file)
|
||||
|
@ -126,7 +127,7 @@ class MachCommands(CommandBase):
|
|||
% (version, target_triple))
|
||||
tgz_file = install_dir + ('rust-std-%s-%s.tar.gz' % (version, target_triple))
|
||||
else:
|
||||
std_url = ("https://static-rust-lang-org.s3.amazonaws.com/dist/%s/rust-std-nightly-%s.tar.gz"
|
||||
std_url = ("https://s3.amazonaws.com/rust-lang-ci/rustc-builds/%s/rust-std-nightly-%s.tar.gz"
|
||||
% (version, target_triple))
|
||||
tgz_file = install_dir + ('rust-std-nightly-%s.tar.gz' % target_triple)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue