qemu/rust/hw/char/pl011/src
Paolo Bonzini 9955093b30 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>
2025-02-07 15:51:01 +01:00
..
device.rs rust: qdev: make reset take a shared reference 2025-01-28 17:58:09 +01:00
device_class.rs rust: include rust_version in Cargo.toml 2025-02-07 00:04:28 +01:00
lib.rs rust: pl011: use default set of lints 2025-02-07 15:51:01 +01:00
memory_ops.rs rust: pl011: pull device-specific code out of MemoryRegionOps callbacks 2025-01-28 17:58:09 +01:00