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 /src/libstd/alloc.rs | |
| parent | 951bc28fd09f5fed793021c6be1645e034394491 (diff) | |
| download | rust-75e17da87358751becc950b9319f5d4aa82744ce.tar.gz rust-75e17da87358751becc950b9319f5d4aa82744ce.zip | |
Mark as permanently-unstable some implementation details
Diffstat (limited to 'src/libstd/alloc.rs')
| -rw-r--r-- | src/libstd/alloc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
