bin/setup-rust

Thu, 08 Jul 2021 12:58:18 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 08 Jul 2021 12:58:18 -0500
changeset 922
c43cb588aa41
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

gofumpt is a static dep of gopls, no need for the note to self

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