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 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.