hurl/bin/install_rust_latest.sh
2022-07-31 09:59:10 +02:00

12 lines
209 B
Bash
Executable File

#!/bin/sh
set -e
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
sh rustup.sh -y
# shellcheck source=/dev/null
PATH="$HOME/.cargo/bin:$PATH"
export PATH
rustc --version
cargo --version