OSX: Rust tools: install 'rustfmt' and 'clippy'

Make installed Rust components the same as for Ubuntu. See also: 
f38833acec/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

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/*