Use new allocator API, and otherwise update for new Rust
This now compiles with the latest Rust, although I'm not too familiar with how ralloc/allocators work, and it may have issues.
This now compiles with the latest Rust, although I'm not too familiar with how ralloc/allocators work, and it may have issues.