grezzo/featlib/rustup.sh

12 lines
283 B
Bash
Executable File

#! /bin/bash --
[ -n "${GREZZO_1604315952-}" ] && return; GREZZO_1604315952=0
. "$(this_script_path)/curl.sh"
function feat_add_rustup() {
feat_needed "curl"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
. "$HOME/.cargo/env"
}