about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-06 00:16:16 +0000
committerbors <bors@rust-lang.org>2017-07-06 00:16:16 +0000
commit1685c9298685f73db4fe890c1ed27b22408aaad7 (patch)
tree73482a0f96192fc5872a6add71d3dfa8ce82155d /src/test/debuginfo/enum-thinlto.rs
parent4d526e0d14b43a87627cd6aca6c6f71ad1e07b6e (diff)
parent695dee063bcd40f154bb27b7beafcb3d4dd775ac (diff)
downloadrust-1685c9298685f73db4fe890c1ed27b22408aaad7.tar.gz
rust-1685c9298685f73db4fe890c1ed27b22408aaad7.zip
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
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions