vmm_sys_util/lib.rs
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"))]
11mod linux;
12#[cfg(any(target_os = "linux", target_os = "android"))]
13pub use crate::linux::*;
14
15#[cfg(unix)]
16mod unix;
17#[cfg(unix)]
18pub use crate::unix::*;
19
20pub mod align;
21pub mod errno;
22pub mod fam;
23pub mod metric;
24pub mod rand;
25pub mod syscall;
26pub mod tempfile;