hurl/bin/install_rust_latest.sh

12 lines
223 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
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