Skip to content

Commit 75e17da

Browse files
committed
Mark as permanently-unstable some implementation details
1 parent 951bc28 commit 75e17da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libcore/alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use usize;
1919
use ptr::{self, NonNull};
2020
use num::NonZeroUsize;
2121

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

src/libstd/alloc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fn default_oom_hook(layout: Layout) {
6464
#[cfg(not(test))]
6565
#[doc(hidden)]
6666
#[lang = "oom"]
67-
#[unstable(feature = "allocator_api", issue = "32838")]
67+
#[unstable(feature = "alloc_internals", issue = "0")]
6868
pub extern fn rust_oom(layout: Layout) -> ! {
6969
let hook = HOOK.load(Ordering::SeqCst);
7070
let hook: fn(Layout) = if hook.is_null() {
@@ -79,7 +79,7 @@ pub extern fn rust_oom(layout: Layout) -> ! {
7979
#[cfg(not(test))]
8080
#[doc(hidden)]
8181
#[allow(unused_attributes)]
82-
#[unstable(feature = "allocator_api", issue = "32838")]
82+
#[unstable(feature = "alloc_internals", issue = "0")]
8383
pub mod __default_lib_allocator {
8484
use super::{System, Layout, GlobalAlloc};
8585
// for symbol names src/librustc/middle/allocator.rs

0 commit comments

Comments
 (0)