Skip to content

Commit 1e232fe

Browse files
committed
std::alloc: using posix_memalign instead of memalign on solarish.
simpler code path since small alignments are already taking care of. close rust-langGH-124787
1 parent c3202af commit 1e232fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/std/src/sys/pal/unix/alloc.rs

-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ unsafe impl GlobalAlloc for System {
6161
cfg_if::cfg_if! {
6262
if #[cfg(any(
6363
target_os = "android",
64-
target_os = "illumos",
6564
target_os = "redox",
66-
target_os = "solaris",
6765
target_os = "espidf",
6866
target_os = "horizon",
6967
target_os = "vita",

0 commit comments

Comments
 (0)