mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
16 lines
236 B
Bash
16 lines
236 B
Bash
#!/bin/sh
|
|
set -e
|
|
set -u
|
|
|
|
# shellcheck disable=SC2016
|
|
|
|
__install_rust() {
|
|
|
|
# Straight from https://rustup.rs/
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
|
|
webi_path_add "$HOME/.cargo/bin"
|
|
}
|
|
|
|
__install_rust
|