Update rust-toolchain and proptest

It is required for stabilized subslice patterns.

proptest 0.9.6 fixes compatibility with the latest rustc nightly.
This commit is contained in:
Alexander Krotov
2020-03-28 03:08:42 +03:00
committed by Alexander Krotov
parent 52442017e2
commit 32bd6109e3
5 changed files with 11 additions and 11 deletions

View File

@@ -3,9 +3,9 @@
set -e -x
# Install Rust
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2019-11-06 -y
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2020-04-10 -y
export PATH=/root/.cargo/bin:$PATH
rustc --version
# remove some 300-400 MB that we don't need for automated builds
rm -rf /root/.rustup/toolchains/nightly-2019-11-06-x86_64-unknown-linux-gnu/share/
rm -rf /root/.rustup/toolchains/nightly-2020-04-10-x86_64-unknown-linux-gnu/share/