bin/setup-rust

Sun, 31 May 2020 11:33:41 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 31 May 2020 11:33:41 -0500
changeset 875
be7ff50ed819
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

keep these in git-helpers

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