Skip to content

Commit eec023e

Browse files
committed
Rustup to rustc 1.42.0-nightly (c2d141df5 2020-01-24)
1 parent 1db38c0 commit eec023e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2020-01-18
1+
nightly-2020-01-25

rustup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ set -e
55
case $1 in
66
"prepare")
77
# FIXME Automatically detect latest nightly
8-
read -p "Date of nightly to use (aka yesterday GMT): " TOOLCHAIN
8+
read -p "Date of nightly to use: " TOOLCHAIN
99

1010
echo "=> Installing new nightly"
1111
rustup toolchain install --profile minimal nightly-${TOOLCHAIN} # Sanity check to see if the nightly exists
1212
echo nightly-${TOOLCHAIN} > rust-toolchain
1313

1414
echo "=> Uninstalling all old nighlies"
15-
for nightly in $(rustup toolchain list | grep nightly- | grep -v $TOOLCHAIN); do
15+
for nightly in $(rustup toolchain list | grep nightly | grep -v $TOOLCHAIN | grep -v nightly-x86_64); do
1616
rustup toolchain uninstall $nightly
1717
done
1818

0 commit comments

Comments
 (0)