bin/setup-rust

Sat, 10 Aug 2019 01:10:34 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 10 Aug 2019 01:10:34 -0500
changeset 781
eddff1b70d20
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

PlugUpgrade

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