-
Notifications
You must be signed in to change notification settings - Fork 810
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
Experimental Support for Android (x86_64 and AArch64) #1292
Conversation
I've also pushed the test scripts in another branch. |
Awesome! Let's add this change into the CHANGELOG.md, so once libc publishes the new version we can merge it :) |
We can merge the android tests in a separate PR. @igrep do you have any insight in how long take the tests to run with Android? |
Here's the result of
The test itself is fast enough: Most of the time is building the docker image. |
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.
I'm excited about this -- thanks!!
67c9805
to
61f8278
Compare
I'll merge the PR and do extra work in a PR apart |
bors r+ |
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 <yuji-yamamoto@iij.ad.jp> Co-authored-by: YAMAMOTO Yuji <yuji-yamamoto@iij.ad.jp>
Build failed |
I hasten to tell an issue before merging: I found a stack overflow error when running a simple WASI executable ("Hello, world" in Rust) on my Android phone (aarch64), not on an emulator (x86_64) |
One more note: the first error reported by #1292 (comment) should have been fixed. |
bors try |
bors r+ |
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 <yuji-yamamoto@iij.ad.jp> Co-authored-by: YAMAMOTO Yuji <yuji-yamamoto@iij.ad.jp> Co-authored-by: Syrus Akbary <me@syrusakbary.com>
Build failed
|
tryBuild failed |
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.
Currently, at the time of 2020/03/11, testing on AArch64 is not supported in the upstream repository
bors try |
🔒 Permission denied Existing reviewers: click here to make igrep a reviewer |
bors try |
Somehow test didn't run ? bors try |
tryBuild succeeded |
We should be good to merge once we solve the merge conflict @igrep! |
bors r+ |
Build succeeded
|
Description
Related: #1113
Current Status
This pull request is a draft until the next version of libc crate (which should contain Add definitions in ucontext.h in Android for ARM, x86, and x86_64 rust-lang/libc#1622)Review
Note
I'm happy given any hint to test of Android specific code (esp. in libc I added in rust-lang/libc#1622).