]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/alloc.rs
Auto merge of #97033 - nbdd0121:unwind3, r=Amanieu
[rust.git] / library / alloc / src / alloc.rs
index da61ff1e7512a734d53854fa116e0dd143f28642..649aeb0890dc050ee32f55b760538e80243da5b4 100644 (file)
@@ -387,7 +387,7 @@ fn rt_error(layout: Layout) -> ! {
 #[cfg(all(not(no_global_oom_handling), test))]
 pub use std::alloc::handle_alloc_error;
 
-#[cfg(all(not(no_global_oom_handling), not(any(target_os = "hermit", test))))]
+#[cfg(all(not(no_global_oom_handling), not(test)))]
 #[doc(hidden)]
 #[allow(unused_attributes)]
 #[unstable(feature = "alloc_internals", issue = "none")]