From 7e048371190d8ead05e4b60c0dfff162582c9de7 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 23 Jan 2024 21:38:03 +0100 Subject: [PATCH] added rust installation into config script --- configure.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.sh b/configure.sh index 1b24599..20ac4ef 100755 --- a/configure.sh +++ b/configure.sh @@ -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 \ No newline at end of file