1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#[cfg(feature = "fam-wrappers")]
#[macro_use]
extern crate vmm_sys_util;
#[cfg(feature = "fam-wrappers")]
mod fam_wrappers;
#[cfg(feature = "vfio-v5_0_0")]
mod bindings_v5_0_0;
#[cfg(not(feature = "vfio-v5_0_0"))]
mod bindings_v5_0_0;
pub mod bindings {
#[cfg(feature = "vfio-v5_0_0")]
pub use super::bindings_v5_0_0::*;
#[cfg(not(feature = "vfio-v5_0_0"))]
pub use super::bindings_v5_0_0::*;
#[cfg(feature = "fam-wrappers")]
pub use super::fam_wrappers::*;
}