added rust installation into config script
This commit is contained in:
parent
0736a0d442
commit
7e04837119
@ -48,3 +48,11 @@ fi
|
|||||||
|
|
||||||
# Execute COMMAND
|
# Execute COMMAND
|
||||||
$COMMAND
|
$COMMAND
|
||||||
|
|
||||||
|
# Install Rust
|
||||||
|
if ! [ -x "$(command -v cargo)" ]; then
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Config Rust version
|
||||||
|
rustup default stable
|
Loading…
x
Reference in New Issue
Block a user