If I make a change to the compiler, and that necessitates a change to clippy, what's the process for doing so? Can I just commit a change to
src/tools/clippy/clippy_lints in the
rust-lang/rust repository, or has something changed there?
As far as I can tell from the documentation, it sounds like the process is to make changes directly in
rust-lang/rust, and then someone working on clippy will be able to use the subtree bits to synchronize it later.
yes, you just fix it in tree and someone else takes care of the sync
Awesome, thank you.
@oli What's the right way to compile-test
src/tools/clippy/clippy_lints when I'm building?
./x.py test src/tools/clippy should do it
but I think some tests are broken right now
we're not blocking on clippy tests passing yet
but will be soon
I ended up doing something different that doesn't change the AST, so I didn't have to change clippy.
But thanks for the help!
@Josh Triplett I use
./x.py check src/tools/clippy, which at least will tell you if it still compiles
(and doesn't require building the compiler twice or w/e)