Support QNX 7.1 with io-sock+libstd and QNX 8.0 (no_std only)#133631
Merged
bors merged 6 commits intorust-lang:masterfrom Jan 26, 2025
Merged
Support QNX 7.1 with io-sock+libstd and QNX 8.0 (no_std only)#133631bors merged 6 commits intorust-lang:masterfrom
io-sock+libstd and QNX 8.0 (no_std only)#133631bors merged 6 commits intorust-lang:masterfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes of this pull request:
Refactor code for qnx nto targets to share more code in file
nto_qnx.rsAdd support for an additional network stack on nto qnx 7.1.
QNX 7.1 supports two network stacks:
io-pkt, which is defaultio-sock, which is optional on 7.1 but default in QNX 8.0As one can see in the io-sock migration notes, this changes the libc API in a way similar to e.g. linux-gnu vs. linux-musl.
This change adds a new target which has a different value for
target_env, so that e.g. libc can distinguish between both APIs.Add initial support for QNX 8.0, thanks to AkhilTThomas. As it turned out, the problem with forking many processes still exists in QNX 8.0. Because if this, we are now using it for any QNX version (i.e. not check for
target_envanymore).@rustbot label +O-neutrino
CC: @jonathanpallant @japaric @gh-tr @AkhilTThomas