Rustup to rustc 1.42.0-nightly (c2d141df5
2020-01-24)
This commit is contained in:
parent
1db38c0dfc
commit
eec023eb85
@ -1 +1 @@
|
|||||||
nightly-2020-01-18
|
nightly-2020-01-25
|
||||||
|
@ -5,14 +5,14 @@ set -e
|
|||||||
case $1 in
|
case $1 in
|
||||||
"prepare")
|
"prepare")
|
||||||
# FIXME Automatically detect latest nightly
|
# FIXME Automatically detect latest nightly
|
||||||
read -p "Date of nightly to use (aka yesterday GMT): " TOOLCHAIN
|
read -p "Date of nightly to use: " TOOLCHAIN
|
||||||
|
|
||||||
echo "=> Installing new nightly"
|
echo "=> Installing new nightly"
|
||||||
rustup toolchain install --profile minimal nightly-${TOOLCHAIN} # Sanity check to see if the nightly exists
|
rustup toolchain install --profile minimal nightly-${TOOLCHAIN} # Sanity check to see if the nightly exists
|
||||||
echo nightly-${TOOLCHAIN} > rust-toolchain
|
echo nightly-${TOOLCHAIN} > rust-toolchain
|
||||||
|
|
||||||
echo "=> Uninstalling all old nighlies"
|
echo "=> Uninstalling all old nighlies"
|
||||||
for nightly in $(rustup toolchain list | grep nightly- | grep -v $TOOLCHAIN); do
|
for nightly in $(rustup toolchain list | grep nightly | grep -v $TOOLCHAIN | grep -v nightly-x86_64); do
|
||||||
rustup toolchain uninstall $nightly
|
rustup toolchain uninstall $nightly
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user