aboutsummaryrefslogtreecommitdiff
path: root/bin/rust.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rust.sh')
-rw-r--r--bin/rust.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/rust.sh b/bin/rust.sh
new file mode 100644
index 0000000..96c9c5d
--- /dev/null
+++ b/bin/rust.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+# https://github.com/ogham/exa/blob/dc5c42a0f240a52f5b102cf965b98ecc2bc328c2/Vagrantfile#L55
+
+echo ">>> Installing Rust"
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal --component rustc,rust-std,cargo,clippy -y > /dev/null
+source $HOME/.cargo/env