bin/setup-rust

Mon, 06 Jan 2020 15:34:34 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 06 Jan 2020 15:34:34 -0600
changeset 846
2786ee9990c6
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

proper multipart!

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