diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-05-31 18:38:39 +0200 |
|---|---|---|
| committer | Simon Sapin <simon.sapin@exyr.org> | 2018-06-11 13:48:27 -0700 |
| commit | 75e17da87358751becc950b9319f5d4aa82744ce (patch) | |
| tree | df145d0191d286d3e729e8ecd488210f37f66535 | |
| parent | 951bc28fd09f5fed793021c6be1645e034394491 (diff) | |
| download | rust-75e17da87358751becc950b9319f5d4aa82744ce.tar.gz rust-75e17da87358751becc950b9319f5d4aa82744ce.zip | |
Mark as permanently-unstable some implementation details
| -rw-r--r-- | src/libcore/alloc.rs | 2 | ||||
| -rw-r--r-- | src/libstd/alloc.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index ae9f77d35cf..97ad55304be 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -19,7 +19,7 @@ use usize; use ptr::{self, NonNull}; use num::NonZeroUsize; -#[unstable(feature = "allocator_api", issue = "32838")] +#[unstable(feature = "alloc_internals", issue = "0")] #[cfg(stage0)] pub type Opaque = u8; diff --git a/src/libstd/alloc.rs b/src/libstd/alloc.rs index 1a4869f87c9..55325006e74 100644 --- a/src/libstd/alloc.rs +++ b/src/libstd/alloc.rs @@ -64,7 +64,7 @@ fn default_oom_hook(layout: Layout) { #[cfg(not(test))] #[doc(hidden)] #[lang = "oom"] -#[unstable(feature = "allocator_api", issue = "32838")] +#[unstable(feature = "alloc_internals", issue = "0")] pub extern fn rust_oom(layout: Layout) -> ! { let hook = HOOK.load(Ordering::SeqCst); let hook: fn(Layout) = if hook.is_null() { @@ -79,7 +79,7 @@ pub extern fn rust_oom(layout: Layout) -> ! { #[cfg(not(test))] #[doc(hidden)] #[allow(unused_attributes)] -#[unstable(feature = "allocator_api", issue = "32838")] +#[unstable(feature = "alloc_internals", issue = "0")] pub mod __default_lib_allocator { use super::{System, Layout, GlobalAlloc}; // for symbol names src/librustc/middle/allocator.rs |
