From 2faf574423319fe498d4ef69435c987585958db6 Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Mon, 2 Nov 2020 16:17:58 +0100 Subject: [PATCH] OSX: Rust tools: install 'rustfmt' and 'clippy' Make installed Rust components the same as for Ubuntu. See also: https://github.com/actions/virtual-environments/blob/f38833acec5cc1c3239474f8135b23c17cb72351/images/linux/scripts/installers/rust.sh --- images/macos/provision/core/rust.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/macos/provision/core/rust.sh b/images/macos/provision/core/rust.sh index de82c7b4..89e70537 100644 --- a/images/macos/provision/core/rust.sh +++ b/images/macos/provision/core/rust.sh @@ -11,7 +11,8 @@ CARGO_HOME=$HOME/.cargo source $CARGO_HOME/env echo Install common tools... +rustup component add rustfmt clippy cargo install bindgen cbindgen cargo-audit cargo-outdated echo Cleanup Cargo registry cached data... -rm -rf $CARGO_HOME/registry/* \ No newline at end of file +rm -rf $CARGO_HOME/registry/*