1 // Copyright 2019 Intel Corporation. All Rights Reserved. 2 // SPDX-License-Identifier: BSD-3-Clause 3 4 //! Collection of modules that provides helpers and utilities used by multiple 5 //! [rust-vmm](https://github.com/rust-vmm/community) components. 6 7 #![deny(missing_docs, missing_debug_implementations)] 8 #![cfg_attr(docsrs, feature(doc_auto_cfg))] 9 10 #[cfg(any(target_os = "linux", target_os = "android"))] 11 mod linux; 12 #[cfg(any(target_os = "linux", target_os = "android"))] 13 pub use crate::linux::*; 14 15 #[cfg(unix)] 16 mod unix; 17 #[cfg(unix)] 18 pub use crate::unix::*; 19 20 pub mod errno; 21 pub mod fam; 22 pub mod metric; 23 pub mod rand; 24 pub mod syscall; 25 pub mod tempfile; 26