grezzo/featlib/rustup.sh

12 lines
266 B
Bash
Executable File

#! /bin/bash --
[ ! -z "${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
. "$HOME/.cargo/env"
}