Auto merge of #3563 - mikerite:readme-syspath, r=phansch
Update README local run command to specify syspath
This commit is contained in:
commit
fdb4d983e2
@ -79,7 +79,7 @@ To have cargo compile your crate with Clippy without Clippy installation
|
||||
in your code, you can use:
|
||||
|
||||
```terminal
|
||||
cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
|
||||
RUSTFLAGS=--sysroot=`rustc --print sysroot` cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
|
||||
```
|
||||
|
||||
*[Note](https://github.com/rust-lang/rust-clippy/wiki#a-word-of-warning):*
|
||||
|
Loading…
Reference in New Issue
Block a user