Skip to content

Commit fdb4d98

Browse files
committedDec 19, 2018
Auto merge of rust-lang#3563 - mikerite:readme-syspath, r=phansch
Update README local run command to specify syspath
2 parents 61de562 + 987f260 commit fdb4d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To have cargo compile your crate with Clippy without Clippy installation
7979
in your code, you can use:
8080

8181
```terminal
82-
cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
82+
RUSTFLAGS=--sysroot=`rustc --print sysroot` cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
8383
```
8484

8585
*[Note](https://github.com/rust-lang/rust-clippy/wiki#a-word-of-warning):*

0 commit comments

Comments
 (0)
Please sign in to comment.