Can I load previous nightly builds?

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

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

I get a lot of errors for cargo build :

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

I assume this is due to the fact that some dependencies have not been updated to the latest version of rust. Is it possible to download every night 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) 
+5
source share
1 answer

If you are using rustup (currently the preferred way to install Rust):

 rustup install nightly-2016-06-03 

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

They are officially posted.

 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 use something like:

 rustup.sh --channel=nightly --date=2016-06-03 
+10
source

Source: https://habr.com/ru/post/1210321/


All Articles