~ashn/setup

ref: 0a3379243a81fc715941fa9aebb6c5886a5ed935 setup/setup-rust.sh -rwxr-xr-x 238 bytes
0a337924ashn Try experiment disabling syntax highlighting 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if which rustup > /dev/null 1>&2; then
    echo "Rust toolchain already installed. Updating..."
    rustup update
    exit
fi

echo "Downloading Rust toolchain..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh