about summary refs log tree commit diff
path: root/src/test/compile-fail/allocator/function-allocator.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-15/+0
2018-06-11Remove some '#[feature]' attributes for stabilized featuresSimon Sapin-1/+0
2017-07-05rustc: Implement the #[global_allocator] attributeAlex Crichton-0/+16
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