pub fn stray_allocators(root: &Path) -> Vec<String>Expand description
Every file:line of a .rs file under root (target directories
left out) that implements GlobalAlloc itself, outside this module:
a counting allocator of its own, whose accounting no test here checks.
The engine’s (unityrs_batch::alloc, the binary’s) is the one other,
its accounting held by its own tests, and its file is left out for that
one implementation only: a count there other than one is reported as
<file>: <n> implementations, the exemption is for one.
Comment lines are not scanned.
§Panics
When root cannot be read (a test helper).