bin/setup-rust

Tue, 12 Nov 2019 16:23:27 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 12 Nov 2019 16:23:27 -0600
changeset 819
58f9d9741852
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

actually run cpm to make sure it's not a stub

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