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

@@ -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 \
}