We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 61de562 + 987f260 commit fdb4d98Copy full SHA for fdb4d98
README.md
@@ -79,7 +79,7 @@ To have cargo compile your crate with Clippy without Clippy installation
79
in your code, you can use:
80
81
```terminal
82
-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
83
```
84
85
*[Note](https://github.com/rust-lang/rust-clippy/wiki#a-word-of-warning):*
0 commit comments