bin/setup-rust

Wed, 01 Mar 2023 03:31:16 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 01 Mar 2023 03:31:16 -0500
changeset 1056
235dd39d6629
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

Pretty sig help

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