bin/setup-rust

Sun, 19 Feb 2023 11:30:19 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 19 Feb 2023 11:30:19 -0600
changeset 1027
823290a8e710
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

vim-polyglot has been a nuisance too often

#!/bin/bash
set -eu -o pipefail

if rustup update; then
  exit
fi

curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup component add rls rustfmt

mercurial