bin/setup-rust@1bb170fcd13b
bin/setup-rust
Thu, 08 Jul 2021 12:59:19 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Thu, 08 Jul 2021 12:59:19 -0500
- changeset 923
- 1bb170fcd13b
- parent 723
-
9d9fecc3ea30
- permissions
- -rwxr-xr-x
cursed: gopls ignores structured or namespaced config, only the final key name matters
#!/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