-
Notifications
You must be signed in to change notification settings - Fork 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 support for OpenHarmony #3138
Conversation
r? @JohnTitor (rustbot has picked a reviewer for you, use r? to override) |
Out of curiosity, does OpenHarmony provide a new polling system, or does it just use Epoll like Linux does? |
These OpenHarmony targets run on top of the Linux kernel and therefore support the same standard mechanisms that Linux provides. However OpenHarmony also supports running on embedded devices & microcontrollers with a custom kernel (LiteOS), but these targets are not currently supported in this PR. |
Thanks! |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
1 similar comment
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request. |
This PR adds support for OpenHarmony targets:
aarch64-linux-ohos
arm-linux-ohos
Compiler team MCP: rust-lang/compiler-team#568
OpenHarmony uses a fork of musl with minor modifications, so most of the code is shared with other musl targets. Additionally, although OpenHarmony uses musl 1.2, it is still ABI-compatible with musl 1.1 so the existing bindings should continue to work until #3068 is merged.
A PR to add the targets to rustc will follow after this is merged.