On Sun, May 31, 2026 at 8:06 PM Paul E. McKenney <[email protected]> wrote:
>
> Is there a Rust-language counterpart to checkpatch.pl that could warn
> when it sees patches adding calls to this function?

We had some patches for proposed Rust checks for `checkpatch.pl`, so
it could be there (there was also a proposed `rust_checkpatch.pl`).

Having said that, Clippy's `disallowed_methods` is likely better
(modulo bugs), and we already have a couple entries on it (please see
`.clippy.toml` in the root). So I would suggest that first.

There is also Klint if something more custom/complex is needed.

Cheers,
Miguel

Reply via email to