mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
87235687a1
Adds the ability to use a custom allocator heap by passing either --cfg external_crate and --extern external=<allocator_crate_name> or --cfg external_funcs and defining the allocator functions prefixed by 'rust_' somewhere. This is useful for many reasons including OS/embedded development, and allocator development and testing.