Description
Introduced in RFC 1183 these two crates lie underneath the facade with their tracking issue hooked up to #27783. I'd like to open a separate issue for just these two crates.
We have a request in Gecko to stabilize the ability to route allocations to specifically malloc
(on all platforms). This includes Windows, where currently alloc_system
routes to functions like HeapAlloc
.
Essentially, one of these crates, or perhaps a new crate like them, may want to have an accelerated path to stabilization before allocators themselves. For example I wouldn't want to stabilize #![allocator]
or #![needs_allocator]
, but we could stabilize the semantics of extern crate alloc_malloc
redirects all allocations to malloc (for example).
Nominating for discussion!
cc @rust-lang/libs
cc @froydnj