summary refs log tree commit diff stats
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-07 15:34:16 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-07 15:51:01 +0100
commit9955093b302b318cd2c8a34dc96913531abd3df9 (patch)
tree63a515e6400bfbfecebc8aeb725413425e5a0e82 /rust/qemu-api
parent35020629914b4d3af6195d33e1a68e8b1c8c2fa3 (diff)
downloadfocaccia-qemu-9955093b302b318cd2c8a34dc96913531abd3df9.tar.gz
focaccia-qemu-9955093b302b318cd2c8a34dc96913531abd3df9.zip
rust: pl011: use default set of lints
Being the first crate added to QEMU, pl011 has a rather restrictive
Clippy setup.  This can be sometimes a bit too heavy on its suggestions,
for example

error: this could be a `const fn`
   --> hw/char/pl011/src/device.rs:382:5
    |
382 | /     fn set_read_trigger(&mut self) {
383 | |         self.read_trigger = 1;
384 | |     }
    | |_____^

Just use the standard set that is present in rust/Cargo.toml, with
just a small adjustment to allow upper case acronyms which are used
for register names.

Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions