bin/setup-rust

Fri, 25 Oct 2019 14:10:27 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 25 Oct 2019 14:10:27 -0500
changeset 814
639a3868c3da
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

compensate for some muscle memory

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