Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUse `cargo clippy` instead of the clippy plugin #1709
Comments
This was referenced May 20, 2018
This comment has been minimized.
|
Citing @sgrif in rust-lang-nursery/rust-clippy#2712 (comment)
That is a serious downside. But I think I have a solution. Do a edit: We will find a solution to the rebuilding problem prior to removing the plugin interface (unless rustc removes it first that is of course). |
This comment has been minimized.
|
Was fixed by #1789 |
oli-obk commentedMay 20, 2018
We're planning on removing the clippy plugin interface, because rustc will remove it someday anyway. All that is required on your end is to remove the clippy feature and replace all cfgs that depend on it with the
cargo-clippyfeature which is automatically enabled by cargo clippy.So you can then use
cargo clippyinstead ofcargo build --features=clippy. Note that cargo clippy requires acargo install clippyfirst.