rust/src/liballoc_system
Michal 'vorner' Vaner 94297c6746
Autodetect the type of allocator crate used
Annotate the allocator crates (allocator_system, allocator_jemalloc) by
the type of allocator they are. If one is requested as an exe allocator,
detect its type by the flags.

This has the effect that using this (de jure wrong) configuration in the
target spec works instead of producing a really unhelpful and arcane
linker error:

"exe-allocation-crate": "alloc_system"

Fixes #43524.
2017-09-10 19:59:42 +02:00
..
Cargo.toml Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
lib.rs Autodetect the type of allocator crate used 2017-09-10 19:59:42 +02:00