Fails to compile with new allocator system.
Created by: Redrield
In new versions of the Rust nightly compiler, the old system of defining extern C ABI functions named __rust_allocate
, __rust_deallocate
etc has been replaced with a trait to impl for allocators. This also means that things like #![feature(allocator)]
have been removed and replaced with an Alloc trait, and a #[global_allocator]
attribute.
RFC for the new system is here