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
This commit is contained in:
Arthur Baars
2020-11-02 16:17:58 +01:00
committed by GitHub
parent a6cd71cfda
commit 2faf574423
+2 -1
View File
@@ -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/*
rm -rf $CARGO_HOME/registry/*