bin/setup-rust

Sun, 09 Jan 2022 15:04:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 09 Jan 2022 15:04:17 -0500
changeset 966
e1132c1cce12
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

use clone --single-branch

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