Re: [PATCH] rust: kbuild: run Clippy for `rusttest` code

From: Miguel Ojeda
Date: Fri Jan 10 2025 - 05:45:44 EST


On Sat, Nov 23, 2024 at 7:07 PM Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
>
> Running Clippy for `rusttest` code is useful to catch issues there too,
> even if the code is not as critical. In the future, this code may also
> run in kernelspace and could be copy-pasted. Thus it is useful to keep
> it under the same standards. For instance, it will now make us add
> `// SAFETY` comments.
>
> It also makes everything more consistent.
>
> Thus clean the few issues spotted by Clippy and start running it.
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Applied to `rust-next` -- thanks!

Cheers,
Miguel