diff options
| author | Fuwn <[email protected]> | 2021-07-03 00:36:49 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-03 00:36:49 +0000 |
| commit | ae0295f5ec33fc404d6da8a916c862ee00180948 (patch) | |
| tree | 75671c242f5201372843412d8d19fb9c3d0f7645 /bin | |
| parent | Merge pull request #52 from Whirlsplash/renovate/tokio-1.x (diff) | |
| download | whirl-ae0295f5ec33fc404d6da8a916c862ee00180948.tar.xz whirl-ae0295f5ec33fc404d6da8a916c862ee00180948.zip | |
feat(vagrant): setup Rust during provisioning
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/rust.sh | 7 |
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 |