If you don't want any allocation at all, you don't need an allocator API.
But the global allocator is the response to your previous comment:
> When you need it, you need it for the whole program (including all the dependencies).