bin/setup-rust

Thu, 12 Mar 2020 11:05:42 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 12 Mar 2020 11:05:42 -0500
changeset 852
cf73e0ff4258
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

Try 'cpm' before 'cpanm'

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