bin/setup-rust

Thu, 25 Nov 2021 21:19:03 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 25 Nov 2021 21:19:03 -0500
changeset 958
b883fb5c4792
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

filter out shims that wont work

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