rustlang: Added the pathman, disabled SC2016

This commit is contained in:
Marcin Woźniak
2022-08-03 18:37:17 +00:00
committed by AJ ONeal
parent 265db05dee
commit ee594b4985
+5
View File
@@ -2,9 +2,14 @@
set -e
set -u
# shellcheck disable=SC2016
function __install_rust() {
# Straight from https://rustup.rs/
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
pathman add "$HOME/.cargo/bin"
}
__install_rust