-
Notifications
You must be signed in to change notification settings - Fork 13k
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
android has posix_memalign
for API 16+ since NDK r10d
#30601
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
7c74e0c
to
2a88cd0
Compare
@bors r+ |
📌 Commit 2a88cd0 has been approved by |
2a88cd0
to
db34aba
Compare
posix_memalign
for API 16+ since NDK r10d
db34aba
to
99cfe48
Compare
@brson: I rewrote this commit to remove some additional cruft while I'm here. |
@bors r+ |
📌 Commit 99cfe48 has been approved by |
⌛ Testing commit 99cfe48 with merge 037e822... |
💔 Test failed - auto-linux-64-x-android-t |
Ugh, this depends on rust-lang/libc#132 |
Thanks for the PR! Although Android may have this API now, our nightlies are compiled against a pretty old version of the NDK to have a "maximally compatible" libstd. I think it's the case that Increasing the minimum supported Android version is likely out of the scope of this PR (as it affects other projects like Servo), but I'm willing to wait for the libc update to see if this passes CI. If it does, then it seems fine to me! |
Yes, we need to be careful about upgrading our minimum android requirements. |
Cool beans. Let's see what the bots say! |
The libc changes have been merged now, so you should be able to include the submodule update here |
Done. On Mon, Jan 11, 2016 at 7:42 PM, Alex Crichton notifications@github.com
|
Maybe an amendment was forgotten? Looks like the submodule still hasn't been updated |
Ah, sorry, I misunderstood you. Done now. On Mon, Jan 11, 2016 at 8:41 PM, Alex Crichton notifications@github.com
|
@bors: r+ f834051274545c212b4429b9a45117e8c1ba0bea |
⌛ Testing commit f834051 with merge 21c4c0e... |
💔 Test failed - auto-linux-cross-opt |
@alexcrichton looks like mips failed because of the following type mismatch in src/liblibc/src/unix/notbsd/linux/mips.rs:
|
@tamird I've sent rust-lang/libc#135 and once that's merged I think that'll be fixed. |
Ok, libc update merged, should be good to re-update submodule and re-try |
See: http://developer.android.com/ndk/downloads/revision_history.html Also, use `libc`'s `posix_memalign`.
Done. On Tue, Jan 12, 2016 at 3:04 PM, Alex Crichton notifications@github.com
|
See: http://developer.android.com/ndk/downloads/revision_history.html Also, use `libc`'s `posix_memalign`.
See: http://developer.android.com/ndk/downloads/revision_history.html
Also, use
libc
'sposix_memalign
.