tiny.alloc.longLivedProcessAllocator
Defined in tiny.alloc.
Returns the allocator for storage that lives for the whole process.
Source
Source: lib/alloc/src/policy.zig:21
zig
/// Returns the allocator for storage that lives for the whole process. Which/// allocator that is comes from the build's diagnostics setting and its phase/// setting. Everything taken from it goes back through it before the process/// finishes tearing down.pub fn longLivedProcessAllocator() Allocator { return platformProcessAllocator();}Source: lib/alloc/src/root.zig:48
zig
pub const longLivedProcessAllocator = policy.longLivedProcessAllocator;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |