Created
December 18, 2017 15:54
-
-
Save rrichardson/3bd32fac4823d775884f03533bdefe79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rustup_date() { | |
if [ -z "$1" ]; then | |
echo "usage: rustup_date 'YYYY-MM-DD'" | |
else | |
rustup override set nightly-${1} | |
rustup default nightly-${1} | |
rustup component add rls-preview --toolchain nightly-${1} | |
rustup component add rust-analysis --toolchain nightly-${1} | |
rustup component add rust-src --toolchain nightly-${1} | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment