]> git.lizzy.rs Git - rust.git/commitdiff
Mark as permanently-unstable some implementation details
authorSimon Sapin <simon.sapin@exyr.org>
Thu, 31 May 2018 16:38:39 +0000 (18:38 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Mon, 11 Jun 2018 20:48:27 +0000 (13:48 -0700)
src/libcore/alloc.rs
src/libstd/alloc.rs

index ae9f77d35cfea7840a69229a1f401fcc81fdebbd..97ad55304be79ceaeaba8dc21ac66a91b56e2686 100644 (file)
@@ -19,7 +19,7 @@
 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;
 
index 1a4869f87c9684d268d7a7983f8f274b76c04539..55325006e748f869f36d46d72a0c34c0d023fc8e 100644 (file)
@@ -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 @@ fn default_oom_hook(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