Update rust setup

This commit is contained in:
2019-03-05 00:22:18 +00:00
parent d533a07bc5
commit c96ef9b3c3
2 changed files with 6 additions and 4 deletions

View File

@@ -47,6 +47,7 @@ brew 'readline'
brew 'reattach-to-user-namespace'
brew 'redis'
brew 'ruby-build'
brew 'rustup-init'
brew 'shellcheck'
brew 'skopeo'
brew 'sops'

View File

@@ -8,8 +8,9 @@ if [ -d "$HOME/.cargo/bin" ]; then
fi
install_rust_global_packages() {
rustup component add rustfmt-preview
rustup component add rust-src
cargo +nightly install --force clippy
cargo install --force racer
rustup component add \
rls \
rust-analysis \
rust-src \
rustfmt \
}