Skip to content

Commit

Permalink
Auto merge of #3593 - mikerite:readme-syspath-2, r=phansch
Browse files Browse the repository at this point in the history
Update README local run command to remove syspath

Since #3257 was reverted, including the sysroot in RUSTFLAGS gives the
error `Option 'sysroot' given more than once`
  • Loading branch information
bors committed Dec 30, 2018
2 parents 735607c + f4cf82c commit 61bfb39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ To have cargo compile your crate with Clippy without Clippy installation
in your code, you can use:

```terminal
RUSTFLAGS=--sysroot=`rustc --print sysroot` cargo run --bin cargo-clippy --manifest-path=path_to_clippys_Cargo.toml
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):*
Expand Down

0 comments on commit 61bfb39

Please sign in to comment.