Skip to content

emscripten: Add in6_pktinfo struct#5256

Merged
JohnTitor merged 1 commit into
rust-lang:mainfrom
guybedford:emscripten-in6-pktinfo
Jul 6, 2026
Merged

emscripten: Add in6_pktinfo struct#5256
JohnTitor merged 1 commit into
rust-lang:mainfrom
guybedford:emscripten-in6-pktinfo

Conversation

@guybedford

Copy link
Copy Markdown
Contributor

Description

The latest Emscripten now supports proper TCP & UDP sockets in Node.js. This adds the missing struct definition that otherwise results in a build failure when using UDP sockets, due to this struct not being included in the shared headers.

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

@JohnTitor JohnTitor 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.

@JohnTitor JohnTitor added this pull request to the merge queue Jul 6, 2026
@JohnTitor JohnTitor added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Jul 6, 2026
Merged via the queue into rust-lang:main with commit 67c9a34 Jul 6, 2026
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants