Skip to content

Update to rustix 1.1#8

Merged
henrywang merged 1 commit intomainfrom
bump-rustix
Apr 7, 2026
Merged

Update to rustix 1.1#8
henrywang merged 1 commit intomainfrom
bump-rustix

Conversation

@cgwalters
Copy link
Copy Markdown
Collaborator

Using an old version was accidental, definitely don't want two versions of rustix in the dependency graph.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the rustix dependency to version 1.1 and replaces heap-allocated Vec buffers with stack-allocated [MaybeUninit; N] arrays for ancillary data processing in both the Sender and Receiver. However, the review feedback correctly identifies that these byte arrays do not guarantee the alignment required for cmsghdr structures, which may result in alignment faults or EINVAL errors from the kernel. Furthermore, the fixed-size buffer in the Sender may cause failures if the number of file descriptors exceeds the hardcoded limit, despite the system being configurable for larger batches.

Using an old version was accidental, definitely don't want
two versions of rustix in the dependency graph.

Signed-off-by: Colin Walters <walters@verbum.org>
@henrywang henrywang merged commit 7557460 into main Apr 7, 2026
3 checks passed
@henrywang henrywang deleted the bump-rustix branch April 7, 2026 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants