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

@ -3,3 +3,6 @@ authors = ["The Cloud Hypervisor Authors"]
edition.workspace = true
name = "serial_buffer"
version = "0.1.0"
[lints]
workspace = true