libc
libc copied to clipboard
Add port for RTEMS
I am currently porting the rust compiler and stdlib to the RTEMS realtime operating system (https://www.rtems.org/).
This PR is the prerequisite for my changes to the rust repo.
style.sh succeeds, the libc-test fails to compile on my machine, but since I only add things which are behind guards for target_os = "rtems". I hope CI will give a 👍 .
Once this passed. I will also add a PR for main branch.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.
Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:
@rustbot author: the review is finished, PR author should check the comments and take action accordingly@rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue
Thanks! Could you add the target to rustc first? This crate follows rustc's platform support for adding/removing targets.
Ah, ok. Will do.
This looks pretty reasonable for me after https://github.com/rust-lang/rust/pull/127021 merges. Could you target main? I've been doing backports in batches from there.
Also, are headers / docs for the added API available? Trying to get those crosslinked on all PRs so there is always a reference.
@rustbot label +stable-nominated
This looks pretty reasonable for me after rust-lang/rust#127021 merges. Could you target
main? I've been doing backports in batches from there.
@tgross35 I opened a new PR https://github.com/rust-lang/libc/pull/3866 for this as I couldn't find a way to change the target branch of this PR. I also added some more reference material in the descriptions over there.
@tgross35 I opened a new PR #3866 for this as I couldn't find a way to change the target branch of this PR. I also added some more reference material in the descriptions over there.
You would need to rebase (locally), force push, then click the "edit" button to the right of the title and change the dropdown. But no worries, a new PR works too.
I'll close this one so there isn't a review in two places.