Browse Source

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>
pull/291/head
Paolo Bonzini 2 years ago
parent
commit
4cb7040d85
  1. 3
      rust/qemu-api/tests/tests.rs

3
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,
};

Loading…
Cancel
Save