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:
Sebastian Hahn 2017-04-26 12:12:56 +02:00
parent fed8491476
commit db11d1fd47

View file

@ -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):*