bin/setup-rust@e4edb1419e3f
bin/setup-rust
Fri, 05 May 2023 13:12:54 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 05 May 2023 13:12:54 -0500
- changeset 1110
- e4edb1419e3f
- parent 723
-
9d9fecc3ea30
- permissions
- -rwxr-xr-x
factor out bina install
#!/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