try using rustup-init for rust install

This commit is contained in:
Stephen 2021-11-16 00:25:45 -08:00 committed by GitHub
parent 1cdf5aea53
commit e334cde639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,5 @@ install_cargo_make:
brew bundle
install_rust:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
echo 'export PATH="$$HOME/.cargo/bin:$$PATH"' >> ~/.bash_profile
source ~/.bash_profile
brew bundle
rustup-init -y