bin/setup-rust

Fri, 06 May 2022 11:14:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 May 2022 11:14:13 -0500
changeset 991
a925474b9558
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

Handle M1 homebrew setup if present

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