You may also pass additional parameters, like so:
cargo clippy --release -- -Dclippy -Wclippy_pedantic
NOTE: requires nightly Rust.
First compile with
cargo build --release, then add
target/release/cargo-clippy into your
WARNING: simply copying it is not enough; you must specifically add the directory to your path, or use a symbolic link instead.