hurl/bin/install_rust_latest.sh
2022-12-14 09:30:32 +01:00

12 lines
211 B
Bash
Executable File

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