A non-thread safe allocator created by wrapping an allocator in a Sync implementation that assumes all use is from the same thread.
Using this (and thus defeating Rust’s thread safety checking) is useful due to global allocators having to be stored in statics,
which requires Sync even in single threaded applications.
A non-thread safe bump-pointer allocator.
Does not free or reuse memory.
Efficient for small allocations.
Does tolerate concurrent callers of wasm::memory_grow,
but not concurrent use of this allocator.