bin/setup-rust@9a6cb845e239
bin/setup-rust
Mon, 09 Mar 2020 14:07:18 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Mon, 09 Mar 2020 14:07:18 -0500
- changeset 849
- 9a6cb845e239
- parent 723
-
9d9fecc3ea30
- permissions
- -rwxr-xr-x
Switch to perl-install and simplify clone or pull
#!/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