added rust installation into config script

This commit is contained in:
Václav Šmejkal 2024-01-23 21:38:03 +01:00
parent 0736a0d442
commit 7e04837119
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -48,3 +48,11 @@ fi
# Execute 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