diff options
| author | bors <bors@rust-lang.org> | 2018-12-19 07:14:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-12-19 07:14:20 +0000 |
| commit | fdb4d983e2b3b98bae8ab9bf0ce6ee0cac8a655f (patch) | |
| tree | 103d6a227f0822078446630b3185b3d2be7f6ebd | |
| parent | 61de562454c42ec96ea2d597bcc46b056ba62865 (diff) | |
| parent | 987f260543aecd0d2645ba7e1adba77d5b7a72e6 (diff) | |
| download | rust-fdb4d983e2b3b98bae8ab9bf0ce6ee0cac8a655f.tar.gz rust-fdb4d983e2b3b98bae8ab9bf0ce6ee0cac8a655f.zip | |
Auto merge of #3563 - mikerite:readme-syspath, r=phansch
Update README local run command to specify syspath
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md index 5c5d32e4a89..13fb8225e59 100644 --- a/README.md +++ b/README.md @@ -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):* |
