Expand description
The binaries’ global allocator: an allocator that ends the process through the binary’s allocation-failure hook
(latexml_core::watchdog::alloc_failed) when an allocation returns null. It replaces the nightly-only
std::alloc::set_alloc_error_hook (issue #143): the hook’s Fatal:oom:alloc_failed line and exit 137 are kept
for every allocation, and a fallible one (try_reserve, std’s fs::read) now ends the same way instead of
returning an error. cortex_worker’s address-space cap (--child-mem-limit-mb) reaches the hook through it.
Structs§
- Hooked
Alloc Awith every null result ending in the allocation-failure hook (see the module docs).