bin/setup-rust

Tue, 03 Dec 2019 12:53:57 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 03 Dec 2019 12:53:57 -0600
changeset 837
b3e5b49e29c3
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

ft=bash

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