rust/src/liballoc_jemalloc
Alex Crichton 695dee063b rustc: Implement the #[global_allocator] attribute
This PR is an implementation of [RFC 1974] which specifies a new method of
defining a global allocator for a program. This obsoletes the old
`#![allocator]` attribute and also removes support for it.

[RFC 1974]: https://github.com/rust-lang/rfcs/pull/197

The new `#[global_allocator]` attribute solves many issues encountered with the
`#![allocator]` attribute such as composition and restrictions on the crate
graph itself. The compiler now has much more control over the ABI of the
allocator and how it's implemented, allowing much more freedom in terms of how
this feature is implemented.

cc #27389
2017-07-05 14:37:01 -07:00
..
Cargo.toml rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
build.rs Stop disabling fill in jemalloc 2017-06-25 10:58:12 -07:00
lib.rs rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
pthread_atfork_dummy.c std: Compile libbacktrace with -fvisibility=hidden 2017-01-26 23:48:08 -08:00