aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/lib.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2024-11-23 18:06:38 +0000
committerMiguel Ojeda <[email protected]>2025-01-09 23:17:25 +0000
commit2a87f8b075ea0ba33d3809aee7980c019f920bd6 (patch)
tree432eb26ca46cc8cd6492ae18e77ac41a0b038d07 /rust/macros/lib.rs
parentrust: give Clippy the minimum supported Rust version (diff)
downloadkernel-2a87f8b075ea0ba33d3809aee7980c019f920bd6.tar.gz
kernel-2a87f8b075ea0ba33d3809aee7980c019f920bd6.zip
rust: kbuild: run Clippy for `rusttest` code
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. Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/lib.rs')
0 files changed, 0 insertions, 0 deletions