Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to download previous nightly builds?

Tags:

rust

I have downloaded the latest Rust nightly and added this dependency to Cargo.toml:

[dependencies.http]

git = "https://github.com/chris-morgan/rust-http.git"

I'm getting lots of errors for cargo build:

...
error: aborting due to 7 previous errors
...
error: aborting due to previous error
Could not compile `regex`.

I guess this is because some dependencies have not been updated to the latest rust version. Is it possible to download the nightly from yesterday or the day before?

Installed versions:

$ rustc --version
rustc 0.13.0-nightly (c89417130 2015-01-02 21:56:13 +0000)
$ cargo --version
cargo 0.0.1-pre-nightly (1a1868b 2014-12-31 21:39:41 +0000)
like image 876
lassej Avatar asked Jan 03 '15 18:01

lassej


1 Answers

If you are using rustup (the currently preferred manner of installing Rust):

rustup install nightly-2016-06-03

If you want to use the standalone Rust installers, previous versions are kept. From this Reddit thread, which links to this Rust issue:

They are officially hosted.

wget https://static.rust-lang.org/dist/2014-12-08/rust-nightly-x86_64-apple-darwin.pkg
wget https://static.rust-lang.org/dist/2014-12-12/rust-nightly-x86_64-unknown-linux-gnu.tar.gz

If you are still using rustup.sh (not .rs), you should be able to use something like:

rustup.sh --channel=nightly --date=2016-06-03
like image 51
Shepmaster Avatar answered Nov 17 '22 23:11

Shepmaster