aboutsummaryrefslogtreecommitdiff
path: root/rust/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-11-06 11:42:00 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-12-10 18:44:06 +0100
commit2f9eec8f72673f97766eba1682a75f06f16302cb (patch)
tree1e5ee74b2d81394db63a74edce42285265ffa340 /rust/meson.build
parent7a35e2fb80df4c536cc808e498a259d96d0a804e (diff)
downloadqemu-2f9eec8f72673f97766eba1682a75f06f16302cb.zip
qemu-2f9eec8f72673f97766eba1682a75f06f16302cb.tar.gz
qemu-2f9eec8f72673f97766eba1682a75f06f16302cb.tar.bz2
rust: build: establish a baseline of lints across all crates
Many lints that default to allow can be helpful in detecting bugs or keeping the code style homogeneous. Add them liberally, though perhaps not as liberally as in hw/char/pl011/src/lib.rs. In particular, enabling entire groups can be problematic because of bitrot when new links are added in the future. For Clippy, this is actually a feature that is only present in Cargo 1.74.0 but, since we are not using Cargo to *build* QEMU, only developers will need a new-enough cargo and only to run tools such as clippy. The requirement does not apply to distros that are building QEMU. Reviewed-by: Junjie Mao <junjie.mao@hotmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/meson.build')
0 files changed, 0 insertions, 0 deletions