[−][src]Attribute Macro qadapt_macro::no_alloc
#[no_alloc]
Deprecated since 1.0.3:
Please use the alloc_counter
crate instead.
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 current function call; if (for example) this function receives the results of an allocation in a separate thread, or defers allocations via closure/Future, those results will not trigger an error.