Attribute Macro qadapt_macro::allocate_panic

source ·
#[allocate_panic]
Expand description

Set up the QADAPT allocator to trigger a panic if any allocations happen during calls to this function.

QADAPT will only track allocations in the thread that calls this function; if (for example) this function receives the results of an allocation in a separate thread, QADAPT will not trigger a panic.