devela/sys/mem/alloc/
mod.rs

1// devela::sys::mem::alloc
2//
3//! Memory allocation.
4// #![doc = crate::doc_!(extends: alloc)]
5
6mod reexports;
7mod namespace;
8
9#[cfg(all(feature = "alloc", feature = "unsafe_layout"))]
10#[cfg_attr(nightly_doc, doc(cfg(all(feature = "alloc", feature = "unsafe_layout"))))]
11mod bump;
12
13#[cfg(all(feature = "alloc", feature = "unsafe_layout"))]
14#[cfg_attr(
15    nightly_doc,
16    doc(cfg(all(feature = "alloc", feature = "unsafe_layout", target_arch = "wasm32")))
17)]
18mod wasm;
19
20crate::items! { // structural access: _mods, _all
21    #[allow(unused)]
22    pub use _mods::*;
23
24    mod _mods { #![allow(unused)]
25        pub use super::{namespace::*, reexports::*};
26        #[cfg(all(feature = "alloc", feature = "unsafe_layout"))]
27        pub use super::{bump::*, wasm::*};
28    }
29    pub(super) mod _all {
30        #[doc(inline)]
31        pub use super::_mods::*;
32    }
33}