diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-05-25 12:54:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-25 12:54:34 +0200 |
| commit | f28d36899c1e914bd8e994c8f526da70a0ed1073 (patch) | |
| tree | e4ed1f9016f6f3cbc44916b3540ec227d2177c3c /tests/rustdoc-js-std/parser-reference.js | |
| parent | 21e6de7eb64c09102de3f100420a09edc1a2a8d7 (diff) | |
| parent | 3c2d9c2dbe0fd764b4af473a75fb4f44616f6b4c (diff) | |
| download | rust-f28d36899c1e914bd8e994c8f526da70a0ed1073.tar.gz rust-f28d36899c1e914bd8e994c8f526da70a0ed1073.zip | |
Rollup merge of #125271 - RalfJung:posix_memalign, r=workingjubilee
use posix_memalign on almost all Unix targets Seems nice to be able to use a single common codepath for all of them. :) The `libc` crate says this symbol exists for all Unix targets. I did locally do check-builds to ensure this still builds, but I can't really test more than that. - For redox, I found indications posix_memalign really exists [here](https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/271) - For esp-idf, I found indications [here](https://github.com/playable-tech/esp-idf/commit/c5b297a86f3d65081bc690e81ab53db47b18d31c) - ~~For horizon and vita (these seem to be gaming console OSes? "Horizon OS" also has some hits for a Facebook product but that seems unrelated), they seem to be based on "newlib", where posix_memalign [seems to exist](https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=3ba2c39fb2a12cd7332ef16b1b3e3df994f7c6f5).~~ Turns out no, this 20-year-old standard POSIX function is unfortunately [not supported](https://github.com/rust-lang/rust/pull/125271#issuecomment-2119221419) here.
Diffstat (limited to 'tests/rustdoc-js-std/parser-reference.js')
0 files changed, 0 insertions, 0 deletions
