1 #![no_std] 2 #![allow(non_camel_case_types)] 3 #![feature(cfg_version)] 4 // C string byte counts were stabilized in Rust 1.79 5 #![cfg_attr(not(version("1.79")), feature(cstr_count_bytes))] 6 // C string literals were stabilized in Rust 1.77 7 #![cfg_attr(not(version("1.77")), feature(c_str_literals))] 8 9 mod err; 10 #[cfg(target_arch = "aarch64")] 11 mod kvm; 12 mod pci; 13 mod vsock; 14 15 pub use err::Error; 16 pub use pci::pci_init_mmio; 17