Skip to documentation
SLOP

tiny.alloc.workerAllocator

Reference tiny.alloc workerAllocator

Defined in tiny.alloc.

Called byCallstiny.allocthreadedIoAllocatortest sourcelib.alloc.src.testtest: allocator policy separates fast...private sourcelib.alloc.src.policyplatformProcessAllocatortiny.alloctestIntegrationAllocatortiny.allocworkerAllocator
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/alloc/src/policy.zig:42

zig
pub fn workerAllocator() Allocator {    if (comptime builtin.is_test) return testIntegrationAllocator();    return platformProcessAllocator();}

Source: lib/alloc/src/root.zig:51

zig
pub const workerAllocator = policy.workerAllocator;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433