bin/setup-rust

Fri, 20 Aug 2021 01:45:40 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 20 Aug 2021 01:45:40 -0400
changeset 937
0b22685bc75c
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

Disable weird stuff from polyglot, but keep a few

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