diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-25 09:20:16 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-05 14:18:17 +0100 |
| commit | ce4a144cf817d401592918faa86f4903d3c78c3e (patch) | |
| tree | 8993b0d734316ea31f41b44c1752f5004bc0ca38 /rust/hw/char/pl011/src/device.rs | |
| parent | 4fe146926fd50a9a2f5591fedc46c7aef7b4bd32 (diff) | |
| download | focaccia-qemu-ce4a144cf817d401592918faa86f4903d3c78c3e.tar.gz focaccia-qemu-ce4a144cf817d401592918faa86f4903d3c78c3e.zip | |
rust: do not use --generate-cstr
--generate-cstr is a good idea and generally the right thing to do, but it is not available in Debian 12 and Ubuntu 22.04. Work around the absence. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw/char/pl011/src/device.rs')
| -rw-r--r-- | rust/hw/char/pl011/src/device.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/hw/char/pl011/src/device.rs b/rust/hw/char/pl011/src/device.rs index bca727e37f..2a85960b81 100644 --- a/rust/hw/char/pl011/src/device.rs +++ b/rust/hw/char/pl011/src/device.rs @@ -12,6 +12,7 @@ use qemu_api::{ bindings::{self, *}, c_str, definitions::ObjectImpl, + device_class::TYPE_SYS_BUS_DEVICE, }; use crate::{ |