rust/src/librustc_metadata
bors 1685c92986 Auto merge of #42727 - alexcrichton:allocators-new, r=eddyb
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/1974

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-06 00:16:16 +00:00
..
astencode.rs incr.comp.: Hash more pieces of crate metadata to detect changes there. 2017-05-08 12:31:26 +02:00
Cargo.toml Remove the in-tree flate crate 2017-06-20 07:11:29 -07:00
creader.rs rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
cstore_impl.rs Auto merge of #42727 - alexcrichton:allocators-new, r=eddyb 2017-07-06 00:16:16 +00:00
cstore.rs rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00
decoder.rs Merge remote-tracking branch 'origin/master' into proc_macro_api 2017-07-05 08:42:13 -07:00
diagnostics.rs Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
encoder.rs Auto merge of #42727 - alexcrichton:allocators-new, r=eddyb 2017-07-06 00:16:16 +00:00
index_builder.rs Allocate DefIndices for global crate metadata. 2017-06-07 12:11:40 +02:00
index.rs
isolated_encoder.rs ICH: Make StableHashingContext work with any TyCtxt, not just the global one. 2017-06-06 13:50:13 +02:00
lib.rs Remove the remaining feature gates 2017-07-02 21:29:39 +02:00
locator.rs Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
schema.rs rustc: Implement the #[global_allocator] attribute 2017-07-05 14:37:01 -07:00