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