devela/sys/os/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// devela::sys::os
//
//! OS-specific.
#![doc = crate::doc_!(modules: crate::sys; os: linux)]
#![doc = crate::doc_!(newline)]
//!
#![doc = crate::doc_!(extends: os)]
//

#[cfg(feature = "linux")]
#[cfg_attr(feature = "nightly", doc(cfg(feature = "linux")))]
pub mod linux;

crate::items! { // structural access: _pub_mods, _all
    #[allow(unused)] #[doc(hidden)] #[doc(no_inline)]
    pub use _pub_mods::*;

    mod _pub_mods {
        #[cfg(feature = "linux")]
        pub use super::linux::_all::*;
    }
    pub(super) mod _all { #[allow(unused)]
        #[doc(inline)]
        pub use super::_pub_mods::*;
    }
}