Support new qnx targets#5241
Conversation
|
Well this seems to fail because the copy of |
| ( | ||
| "target_os", | ||
| &[ | ||
| "switch", "aix", "ohos", "hurd", "rtems", "visionos", "nuttx", "cygwin", "qurt", | ||
| ], | ||
| ), |
There was a problem hiding this comment.
If that's a new config only in nightly, you'll need to update this
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
|
sigh. I clicked the "Merge changes from main" button, but the bot tells me I shouldn't have clicked the button. I'll rebase. |
|
I wish I could disable that button or make it rebase-only, unfortunately nothing we've tried can make it disappear |
Without this, using a mutex on QNX will fail with -EINVAL.
196df63 to
825590e
Compare
|
Description
Updates libc to support the newly renamed targets for QNX SDP 8
This PR largely involves adding
target_os = "qnx"everywhere that saidtarget_os = "nto", and replacingtarget_env = "nto800"withtarget_os = "qnx".Plus there are some pthread mutex fixes, which we took from the our header files.
Sources
For QNX SDP 8.0:
For QNX SDP 7.1:
I don't have QNX SDP 7.0 available, so the old code path was left as-is.
Checklist
libc-test/semverhave been updated (there are none)*LASTor*MAXareincluded (see #3131)
cd libc-test && cargo test --target mytarget);especially relevant for platforms that may not be checked in CI
@rustbot label +stable-nominated