]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #19534: scialex/liballoc-cfg
authorCorey Richardson <corey@octayn.net>
Fri, 5 Dec 2014 18:08:28 +0000 (10:08 -0800)
committerCorey Richardson <corey@octayn.net>
Fri, 5 Dec 2014 18:08:28 +0000 (10:08 -0800)
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 applications including OS/embedded development,
and allocator development and testing.


Trivial merge