bootstrap: allow to set clippy.toml for x.py clippy by klensy · Pull Request #137785 · rust-lang/rust (original) (raw)

First two commits adds ability to set clippy.toml for x.py clippy, to be able to tune clippy lints, and set avoid-breaking-exported-api = false for bootstrap and compiler as example.
3rd commit fixes wrong displayed name for rustdoc - now it will be named rustdoc when running python x.py clippy librustdoc, not clippy.

I don't like copypasted paths for lint targets in CI, but can't find better way for it.