-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std: Use memalign, not posix_memalign, on Android #33832
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup |
📌 Commit 6584fb4 has been approved by |
@bors: r- Some tests failed. |
This is certainly a dangerous commit to put into rollup. @bors rollup- |
@bors r+ rollup- Test failure in the rollup seems to have nothing to do with this change. |
📌 Commit 6584fb4 has been approved by |
@bors r=luqmana Err. |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 6584fb4 has been approved by |
Nominating for beta based on this comment: #33848 (comment) |
We've gotten requests to move our Android support as far back as API level 9 where unfortunately the `posix_memalign` API wasn't implemented yet. Thankfully, however, the `memalign` API was and it appears to be usable with `free` on the Android platform (see comments included in commit). This should help fix some of the last few test failures when compiling against API level 9.
6584fb4
to
33dfd0f
Compare
Unclear that we are the right team to make this call, but the compiler team approves backporting to beta. :) Ordinarily we wouldn't backport this change, but since it helps with the bot infrastructure, seems fine. |
Oh right, yes sorry I intended to discuss this with the tools team this coming triage meeting. |
…qmana std: Use memalign, not posix_memalign, on Android We've gotten requests to move our Android support as far back as API level 9 where unfortunately the `posix_memalign` API wasn't implemented yet. Thankfully, however, the `memalign` API was and it appears to be usable with `free` on the Android platform (see comments included in commit). This should help fix some of the last few test failures when compiling against API level 9.
We've gotten requests to move our Android support as far back as API level 9
where unfortunately the
posix_memalign
API wasn't implemented yet. Thankfully,however, the
memalign
API was and it appears to be usable withfree
on theAndroid platform (see comments included in commit).
This should help fix some of the last few test failures when compiling against
API level 9.