mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
rust: define prelude
Add a module that will contain frequently used traits and occasionally structs. They can be included quickly with "use qemu_api::prelude::*". Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c596199f63
commit
28d0ad3d42
3 changed files with 12 additions and 0 deletions
|
@ -21,6 +21,7 @@ _qemu_api_rs = static_library(
|
|||
'src/definitions.rs',
|
||||
'src/device_class.rs',
|
||||
'src/offset_of.rs',
|
||||
'src/prelude.rs',
|
||||
'src/vmstate.rs',
|
||||
'src/zeroable.rs',
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue