diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-04-14 00:23:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-14 00:23:25 +0200 |
| commit | bdb264ff5f4ecb39e5c8babf594d355bc4795afc (patch) | |
| tree | bf10fc6164cf9db8de31cc7587ddf6f03f8f0aa7 /src/liballoc/lib.rs | |
| parent | e4c66afba5d69356879570aeff22db5a38566a86 (diff) | |
| parent | fc928a18bad0b6aa275a6908351b164f6f4abcd6 (diff) | |
| download | rust-bdb264ff5f4ecb39e5c8babf594d355bc4795afc.tar.gz rust-bdb264ff5f4ecb39e5c8babf594d355bc4795afc.zip | |
Rollup merge of #59675 - SimonSapin:stable-alloc, r=alexcrichton
Stabilize the `alloc` crate. This implements RFC 2480: * https://github.com/rust-lang/rfcs/pull/2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes https://github.com/rust-lang/rust/issues/27783
Diffstat (limited to 'src/liballoc/lib.rs')
| -rw-r--r-- | src/liballoc/lib.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 9064b4ccd6a..7f3acc933d4 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -51,10 +51,7 @@ //! default global allocator. It is not compatible with the libc allocator API. #![allow(unused_attributes)] -#![unstable(feature = "alloc", - reason = "this library is unlikely to be stabilized in its current \ - form or name", - issue = "27783")] +#![stable(feature = "alloc", since = "1.36.0")] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/", issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/", test(no_crate_inject, attr(allow(unused_variables), deny(warnings))))] |
