Skip to content

fix: add missing definitions for io-sock QNX - #5469

Open
lambinoo wants to merge 1 commit into
rust-lang:mainfrom
lambinoo:fix-missing-bits-qnx8
Open

fix: add missing definitions for io-sock QNX#5469
lambinoo wants to merge 1 commit into
rust-lang:mainfrom
lambinoo:fix-missing-bits-qnx8

Conversation

@lambinoo

@lambinoo lambinoo commented Sep 4, 2026

Copy link
Copy Markdown

I'm currently working on getting socket2 to compile for QNX8 networking stack. This PR adds some missing network related structs and constants.

@lambinoo
lambinoo force-pushed the fix-missing-bits-qnx8 branch from fbbe72e to b32f2a1 Compare September 4, 2026 11:09
@lambinoo lambinoo changed the title fix: add missing constants for io-sock QNX fix: add missing definitions for io-sock QNX Sep 4, 2026
@lambinoo
lambinoo force-pushed the fix-missing-bits-qnx8 branch from b32f2a1 to 543e03a Compare September 4, 2026 11:55

@tgross35 tgross35 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable enough to me but the target maintainers should review/test. Cc @flba-eb @gh-tr @jonathanpallant @japaric

@rustbot label +S-waiting-on-maintainer

View changes since this review

Comment thread src/unix/nto/io_sock/mod.rs Outdated
Comment on lines +58 to +63
// https://github.com/freebsd/freebsd-src/blob/f0cf0b8266eef39b13917f7bed808daf6d6a2d3e/sys/netinet/in.h#L549
pub struct ip_mreqn {
pub imr_multiaddr: in_addr,
pub imr_address: in_addr,
pub imr_ifindex: c_int,
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put these links into the commit message, rather than in comments

@lambinoo lambinoo Sep 6, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated! Also fixed the the in_addr fields to crate::in_addr since that's what the rest of the file is using

@rustbot

This comment has been minimized.

@rustbot

rustbot commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • The following commits have merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged.

    You can start a rebase with the following commands:

    $ # rebase
    $ git pull --rebase https://github.com/rust-lang/libc.git main
    $ git push --force-with-lease
    

@lambinoo
lambinoo force-pushed the fix-missing-bits-qnx8 branch from b539bb3 to 54be82a Compare September 6, 2026 14:21
@rustbot

rustbot commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

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.

@lambinoo
lambinoo force-pushed the fix-missing-bits-qnx8 branch from 54be82a to 33e91af Compare September 6, 2026 14:24
@lambinoo
lambinoo force-pushed the fix-missing-bits-qnx8 branch from 33e91af to 53c3ebe Compare September 6, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants