devela/sys/mem/alloc/
reexports.rs

1// devela::sys::mem::alloc::reexports
2//
3//! Reexported allocation-related items.
4//
5
6use crate::reexport;
7
8/* alloc */
9
10reexport! { rust: alloc::alloc,
11    doc: "Layout of a block of memory.",
12    @Layout as MemLayout
13}
14reexport! { rust: alloc::alloc,
15    tag: crate::TAG_ERROR!(),
16    doc: "The [`MemLayout`] parameters violated constraints.",
17    @LayoutError as MemLayoutError
18}
19reexport! { rust: alloc::alloc,
20    doc: "A memory allocator that can be registered as the standard library’s default.",
21    GlobalAlloc
22}
23
24/* std */
25
26reexport! { rust: std::alloc,
27    doc: "The default memory allocator provided by the operating system.",
28    @System as SystemAlloc
29}