misc: improve developer experience of cargo clippy

A major improvement to the developer experience of clippy in
Cloud Hypervisor.

1. Make `cargo clippy` just work with the same lints we use in CI
2. Simplify adding new lints

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-11-17 15:42:20 +01:00
committed by Rob Bradford
parent a7fa3a0c86
commit e4fd066d82
28 changed files with 107 additions and 26 deletions

View File

@@ -9,3 +9,6 @@ flume = { workspace = true }
libc = { workspace = true }
serde = { workspace = true, features = ["derive", "rc"] }
serde_json = { workspace = true }
[lints]
workspace = true