bin/setup-rust@9cd1d19d8cc6
bin/setup-rust
Fri, 15 May 2020 22:55:03 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 15 May 2020 22:55:03 -0500
- changeset 859
- 9cd1d19d8cc6
- parent 723
-
9d9fecc3ea30
- permissions
- -rwxr-xr-x
Load vim-lsp if gopls is present alone
#!/bin/bash
set -eu -o pipefail
if rustup update; then
exit
fi
curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup component add rls rustfmt