bin/setup-rust

Sun, 02 Jan 2022 03:21:02 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 02 Jan 2022 03:21:02 -0600
changeset 963
3f9185b6a5e3
parent 723
9d9fecc3ea30
permissions
-rwxr-xr-x

block some autocmds in diff mode

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