diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-14 12:10:33 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-25 16:18:11 +0100 |
commit | 4cb7040d851cdd7b2622f83fd7d95a922225386b (patch) | |
tree | 10d7169d4ff4decc3b27c47d377a9cc738e8f1dc /rust/qemu-api | |
parent | 8a420dd109b9e4e2244cfa32bc92829093268b3e (diff) | |
download | qemu-4cb7040d851cdd7b2622f83fd7d95a922225386b.zip qemu-4cb7040d851cdd7b2622f83fd7d95a922225386b.tar.gz qemu-4cb7040d851cdd7b2622f83fd7d95a922225386b.tar.bz2 |
rust: tests: do not import bindings::*
Similar to the devices, spell the exact set of C functions that are
called directly.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api')
-rw-r--r-- | rust/qemu-api/tests/tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/qemu-api/tests/tests.rs b/rust/qemu-api/tests/tests.rs index 92dbfb8..03569e4 100644 --- a/rust/qemu-api/tests/tests.rs +++ b/rust/qemu-api/tests/tests.rs @@ -8,13 +8,14 @@ use std::{ }; use qemu_api::{ - bindings::*, + bindings::{module_call_init, module_init_type, object_new, object_unref, qdev_prop_bool}, c_str, cell::{self, BqlCell}, declare_properties, define_property, prelude::*, qdev::{DeviceClass, DeviceImpl, DeviceState, Property, ResettablePhasesImpl}, qom::{ClassInitImpl, ObjectImpl, ParentField}, + sysbus::SysBusDevice, vmstate::VMStateDescription, zeroable::Zeroable, }; |