We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 423c72c commit 38014ceCopy full SHA for 38014ce
1 file changed
scripts/install.sh
@@ -5,8 +5,11 @@ sudo systemctl stop autobahn
5
6
# Ensure Rust toolchain is configured
7
if ! command -v rustup &> /dev/null; then
8
- echo "Rustup not found. Please install Rust first."
9
- exit 1
+ echo "Rustup not found. Installing Rust toolchain..."
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
10
+ if [ -f "$HOME/.cargo/env" ]; then
11
+ source "$HOME/.cargo/env"
12
+ fi
13
fi
14
15
# Set default toolchain if not already set
0 commit comments