add rust setup
This commit is contained in:
parent
412d5a7f9a
commit
55bd2a808a
1 changed files with 7 additions and 0 deletions
7
setup/rust
Normal file
7
setup/rust
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo -e "\n${BLD}${SUL}${GRN}Setting up ${RED}Rust${GRN}...${RST}\n"
|
||||||
|
|
||||||
|
if ! command -v cargo >/dev/null; then
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
|
fi
|
||||||
Loading…
Add table
Add a link
Reference in a new issue