mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
adc26a3062
add support for `#[global_allocator]` This PR adds support for custom global allocators. Unfortunately, the code given in #1207 still causes errors when used with box. I believe this is because Box is special-cased in miri and stacked borrows.