Update toolchain in all our files

We need to do more than just update rust-toolchain sadly.
This commit is contained in:
Floris Bruynooghe
2021-01-18 22:18:09 +01:00
parent 6d5ccdf721
commit 2435803fa3
2 changed files with 5 additions and 5 deletions

View File

@@ -3,9 +3,9 @@
set -e -x
# Install Rust
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.45.0-x86_64-unknown-linux-gnu -y
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.49.0-x86_64-unknown-linux-gnu -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/1.45.0-x86_64-unknown-linux-gnu/share
rm -rf /root/.rustup/toolchains/1.49.0-x86_64-unknown-linux-gnu/share