comparison: bin/setup-rust
bin/setup-rust
- changeset 723
- 9d9fecc3ea30
equal
deleted
inserted
replaced
|
1 #!/bin/bash |
|
2 set -eu -o pipefail |
|
3 |
|
4 if rustup update; then |
|
5 exit |
|
6 fi |
|
7 |
|
8 curl https://sh.rustup.rs -sSf | sh |
|
9 source ~/.cargo/env |
|
10 rustup component add rls rustfmt |