From 1e232fea1b0e5bcf43230a8a28a24f9e2cbac988 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 6 May 2024 14:27:24 +0000 Subject: [PATCH] std::alloc: using posix_memalign instead of memalign on solarish. simpler code path since small alignments are already taking care of. close GH-124787 --- library/std/src/sys/pal/unix/alloc.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/std/src/sys/pal/unix/alloc.rs b/library/std/src/sys/pal/unix/alloc.rs index 9938c0bac25..993bf55edcf 100644 --- a/library/std/src/sys/pal/unix/alloc.rs +++ b/library/std/src/sys/pal/unix/alloc.rs @@ -61,9 +61,7 @@ unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut cfg_if::cfg_if! { if #[cfg(any( target_os = "android", - target_os = "illumos", target_os = "redox", - target_os = "solaris", target_os = "espidf", target_os = "horizon", target_os = "vita",