feat(rust): improve overall setup around Rust

This commit is contained in:
2023-03-09 23:18:50 +00:00
parent 664f06bbdb
commit 72dde13eb7
3 changed files with 94 additions and 8 deletions

View File

@@ -119,6 +119,10 @@ install_emacs_config() {
git_clone 'git@github.com:jimeh/.emacs.d.git' "$TARGET/.config/emacs-siren"
}
install_rustup() {
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
}
#
# Helper functions
#
@@ -269,6 +273,9 @@ case "$1" in
rbenv)
install_rbenv
;;
rustup | rust)
install_rustup
;;
launch_agents | launch-agents | agents)
install_launch_agents
;;