Skip to main content

Module bump_alloc

Module bump_alloc 

Source
Expand description

The boot loader’s global bump allocator.

Allocations are allowed only in a small window for supporting mesh_protobuf. Any other attempt to allocate results in a panic.

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.