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 | 3fc96a3f7899640ec3cc1f9c8fb914ec3c43740f (patch) | |
| tree | fe5983d4f47ce5a6988cbdff2b7eabb79836bda4 /bin/rust.sh | |
| parent | Merge pull request #52 from Whirlsplash/renovate/tokio-1.x (diff) | |
| download | whirl-3fc96a3f7899640ec3cc1f9c8fb914ec3c43740f.tar.xz whirl-3fc96a3f7899640ec3cc1f9c8fb914ec3c43740f.zip | |
feat(vagrant): setup Rust during provisioning
Diffstat (limited to 'bin/rust.sh')
| -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 |