pub fn set_alloc_byte_limit(limit_bytes: usize)Expand description
Overrides the per-allocation byte ceiling enforced by AllocGuard.
Use to raise the limit for genuinely huge single-buffer workloads, or lower
it to harden against pathological sizes. Affects all subsequent allocations
through AllocGuard::new / AllocGuard::new_zeroed and
check_alloc_bound. Passing 0 is treated as “no override” and restores
the default ceiling.