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:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user