Description
Edit: rust-lang-ci
is ephemeral, so the proposal is now to add one nightly-alt
channel adressed by date like nightly
.
The builds made for testing every Rust pull request before merging are made available at:
https://s3.amazonaws.com/rust-lang-ci/rustc-builds/$SHA1/rust-nightly-$HOST_TRIPLE.tar.gz
https://s3.amazonaws.com/rust-lang-ci/rustc-builds-alt/$SHA1/rust-nightly-$HOST_TRIPLE.tar.gz
… where $SHA1
is the full hex hash of a merge commit made by @bors.
The latter was added in rust-lang/rust#39754. It includes a smaller number of platforms, and disables LLVM assertions which weakens compiler testing but improves compiler performance.
Servo has been using these builds. They prove useful both for the performance improvement and for testing for example a bug fix that has been merged without waiting for the next Nightly (which sometimes takes several additional days).
Servo does this with custom rustup-like Python scripts. These builds can be used in rustup with rustup toolchain link FOO /path/to/extracted/tarball
, but downloading them and extracting them manually can get tedious. Automating this approaches re-inventing rustup, so it would be nicer if rustup could support it directly.
master
and master-alt
could be added to the toolchains rustup knows about out of the box like stable
and nightly
. The hash of the current latest commit can be found in https://api.github.com/repos/rust-lang/rust/git/refs/heads/master. These toolchains would also support specifying a precise hash, like stable
and nightly
support a version number and a date:
rustup update stable-1.17.0
rustup update nightly-2017-05-06
rustup update master-alt-70198a0a44633c7c9d14fce2159c1f750491287b
@brson How does this sound?