Module bump_alloc

Module bump_alloc 

Source
Expand description

A simple bump allocator that can be used in the bootloader.

Note that we only allow allocations in a small window for supporting mesh_protobuf. Any other attempts to allocate will result in a panic.

Structs§

BumpAllocator
Inner

Enums§

State 🔒

Statics§

ALLOCATOR

Functions§

with_global_alloc
Run the provided closure with enabling the global bump allocator. This is only intended to be used for mesh_protobuf decode.