bin/setup-rust

Sun, 25 Apr 2021 00:57:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 25 Apr 2021 00:57:55 -0500
changeset 899
2315aad34ca3
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

ok this format-on-write is more reliable

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