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 errno;
21pub mod fam;
22pub mod metric;
23pub mod rand;
24pub mod syscall;
25pub mod tempfile;