Skip to content

Commit 0470325

Browse files
committed
Mark as permanently-unstable some implementation details
1 parent 34c9fd0 commit 0470325

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libcore/alloc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use mem;
1818
use usize;
1919
use ptr::{self, NonNull};
2020

21-
#[unstable(feature = "allocator_api", issue = "32838")]
21+
#[unstable(feature = "alloc_internals", issue = "0")]
2222
#[cfg(stage0)]
2323
pub type Opaque = u8;
2424

src/libstd/alloc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fn default_oom_hook(layout: Layout) -> ! {
6363
#[cfg(not(test))]
6464
#[doc(hidden)]
6565
#[lang = "oom"]
66-
#[unstable(feature = "allocator_api", issue = "32838")]
66+
#[unstable(feature = "alloc_internals", issue = "0")]
6767
pub extern fn rust_oom(layout: Layout) -> ! {
6868
let hook = HOOK.load(Ordering::SeqCst);
6969
let hook: fn(Layout) -> ! = if hook.is_null() {
@@ -77,7 +77,7 @@ pub extern fn rust_oom(layout: Layout) -> ! {
7777
#[cfg(not(test))]
7878
#[doc(hidden)]
7979
#[allow(unused_attributes)]
80-
#[unstable(feature = "allocator_api", issue = "32838")]
80+
#[unstable(feature = "alloc_internals", issue = "0")]
8181
pub mod __default_lib_allocator {
8282
use super::{System, Layout, GlobalAlloc};
8383
// for symbol names src/librustc/middle/allocator.rs

0 commit comments

Comments
 (0)