bin/setup-rust

Tue, 10 Mar 2020 18:32:36 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 10 Mar 2020 18:32:36 -0400
changeset 851
b8501cb649b6
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

automatically try to pick up local::lib

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