We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d6d20 commit 125b259Copy full SHA for 125b259
src/liballoc/alloc.rs
@@ -186,7 +186,7 @@ pub(crate) unsafe fn box_free<T: ?Sized>(ptr: Unique<T>) {
186
/// and abort the process.
187
/// It can be replaced with [`std::alloc::set_oom_hook`]
188
/// and [`std::alloc::take_oom_hook`].
189
-#[unstable(feature = "allocator_api", issue = "32838")]
+#[stable(feature = "global_alloc", since = "1.28.0")]
190
#[rustc_allocator_nounwind]
191
pub fn oom(layout: Layout) -> ! {
192
#[allow(improper_ctypes)]
0 commit comments