diff options
| author | David Carlier <devnexen@gmail.com> | 2024-05-06 14:27:24 +0000 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2024-05-11 18:08:35 +0000 |
| commit | 1e232fea1b0e5bcf43230a8a28a24f9e2cbac988 (patch) | |
| tree | 61158ade9f16a21f03408b66a6c049fa31635bbc /library/std/src/sys/pal/unix/alloc.rs | |
| parent | c3202afa2865ad26ef407544c3768070bfed7bfe (diff) | |
| download | rust-1e232fea1b0e5bcf43230a8a28a24f9e2cbac988.tar.gz rust-1e232fea1b0e5bcf43230a8a28a24f9e2cbac988.zip | |
std::alloc: using posix_memalign instead of memalign on solarish.
simpler code path since small alignments are already taking care of. close GH-124787
Diffstat (limited to 'library/std/src/sys/pal/unix/alloc.rs')
| -rw-r--r-- | library/std/src/sys/pal/unix/alloc.rs | 2 |
1 files changed, 0 insertions, 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 impl GlobalAlloc for System { 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", |
