Clarify that -L needs the path to clippy_so's directory
This confused me and led to #1701, hopefully it's clearer now
This commit is contained in:
parent
fed8491476
commit
db11d1fd47
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ To have cargo compile your crate with clippy without needing `#![plugin(clippy)]
|
|||
in your code, you can use:
|
||||
|
||||
```terminal
|
||||
cargo rustc -- -L /path/to/clippy_so -Z extra-plugins=clippy
|
||||
cargo rustc -- -L /path/to/clippy_so/dir/ -Z extra-plugins=clippy
|
||||
```
|
||||
|
||||
*[Note](https://github.com/Manishearth/rust-clippy/wiki#a-word-of-warning):*
|
||||
|
|
Loading…
Add table
Reference in a new issue