mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-26 22:50:56 +00:00
Auto merge of #3593 - mikerite:readme-syspath-2, r=phansch
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`
This commit is contained in:
commit
61bfb39e3f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ To have cargo compile your crate with Clippy without Clippy installation
|
||||||
in your code, you can use:
|
in your code, you can use:
|
||||||
|
|
||||||
```terminal
|
```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):*
|
*[Note](https://github.com/rust-lang/rust-clippy/wiki#a-word-of-warning):*
|
||||||
|
|
Loading…
Reference in a new issue