-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add definitions in ucontext.h in Android for ARM, x86, and x86_64 #1622
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
e3c5916
to
c6b0b73
Compare
@gnzlbg This is a reminder. Now the left build error is just a network failure when building for |
c6b0b73
to
3d87ca1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good already, i've left some minor comments.
All of your comments don't sound minor to me... 😂 |
Thank you for fixing all of these issues so quickly. I'll be a bit unavailable over christmas, but I'll try to take a look every now and then if you make progress with the types using an Basically it' what you originally suggested: you need to create a named union, and then use it as a field. However, there is no union with that name in the C file, so you need to skip trying to generate tests for that in the I think it would be nice to have a way to test fields of anonymous unions by mapping them to some Rust union field in the |
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
3183d29
to
d9feee2
Compare
@gnzlbg Can you review again and merge? |
I'll send a PR after rust-lang/libc#1622 is merged and released
@gnzlbg ping. |
I'll send a PR after rust-lang/libc#1622 is merged and released
d9feee2
to
322a02d
Compare
@JohnTitor Can I ask you to review this instead of @gnzlbg? |
r? @JohnTitor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay! Overall looks good. Also could you squash commits into 5 or so? It's too large to merge just as it is.
322a02d
to
338dd7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
I'll send a PR after rust-lang/libc#1622 is merged and released
The new version of libc contains changes necessary to build wasmer-runtime-core for Android. See rust-lang/libc#1622 for details.
1292: Experimental Support for Android (x86_64 and AArch64) r=syrusakbary a=igrep # Description Related: #1113 # Current Status - ~~This pull request is a draft until the next version of libc crate (which should contain rust-lang/libc#1622 - Now released! 🎉 - I confirmed the tests of wasmer-runtime-core pass on Android x86\_64. - The other tests including ones on AArch64 seems too hard so far... 😓 # Review - [x] Add a short description of the the change to the CHANGELOG.md file # Note I'm happy given any hint to test of Android specific code (esp. in libc I added in rust-lang/libc#1622). Co-authored-by: Yuji Yamamoto <[email protected]> Co-authored-by: YAMAMOTO Yuji <[email protected]>
I'll send a PR after rust-lang/libc#1622 is merged and released
The new version of libc contains changes necessary to build wasmer-runtime-core for Android. See rust-lang/libc#1622 for details.
1292: Experimental Support for Android (x86_64 and AArch64) r=syrusakbary a=igrep # Description Related: #1113 # Current Status - ~~This pull request is a draft until the next version of libc crate (which should contain rust-lang/libc#1622 - Now released! 🎉 - I confirmed the tests of wasmer-runtime-core pass on Android x86\_64. - The other tests including ones on AArch64 seems too hard so far... 😓 # Review - [x] Add a short description of the the change to the CHANGELOG.md file # Note I'm happy given any hint to test of Android specific code (esp. in libc I added in rust-lang/libc#1622). Co-authored-by: Yuji Yamamoto <[email protected]> Co-authored-by: YAMAMOTO Yuji <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
I'll send a PR after rust-lang/libc#1622 is merged and released
The new version of libc contains changes necessary to build wasmer-runtime-core for Android. See rust-lang/libc#1622 for details.
1292: Experimental Support for Android (x86_64 and AArch64) r=syrusakbary a=igrep # Description Related: #1113 # Current Status - ~~This pull request is a draft until the next version of libc crate (which should contain rust-lang/libc#1622 - Now released! 🎉 - I confirmed the tests of wasmer-runtime-core pass on Android x86\_64. - The other tests including ones on AArch64 seems too hard so far... 😓 # Review - [x] Add a short description of the the change to the CHANGELOG.md file # Note I'm happy given any hint to test of Android specific code (esp. in libc I added in rust-lang/libc#1622). Co-authored-by: Yuji Yamamoto <[email protected]> Co-authored-by: YAMAMOTO Yuji <[email protected]> Co-authored-by: Mark McCaskey <[email protected]>
Ref: https://android.googlesource.com/platform/bionic/+/refs/tags/ndk-r20/libc/include/sys/ucontext.h
Will close #1604