Files
dockcross/imagefiles/build-and-install-rustup.sh
2025-02-25 23:21:05 +01:00

11 lines
191 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
if ! command -v curl &> /dev/null; then
echo >&2 'error: "curl" not found!'
exit 1
fi
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y