devela/sys/mem/alloc/
reexports.rs
1use crate::reexport;
7
8reexport! { 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
24reexport! { rust: std::alloc,
27 doc: "The default memory allocator provided by the operating system.",
28 @System as SystemAlloc
29}