bin/setup-rust

Fri, 07 May 2021 00:09:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 07 May 2021 00:09:07 -0500
changeset 903
7453a9387eb3
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

fix annoyance on older vim - interacts badly with stopinsert trigger

#!/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