bin/setup-rust

Sat, 24 Apr 2021 19:51:12 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 24 Apr 2021 19:51:12 -0500
changeset 897
760d4f0ca87b
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

Keep maps together

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