Is there a reason you cannot specify your allocator of choice in Rust? AFAIK, the abstraction exists to do just that.