Skip to content

Add Padding type for uninitialized padding representation - #1677

Draft
xtqqczze wants to merge 2 commits into
bytecodealliance:mainfrom
xtqqczze:padding
Draft

xtqqczze wants to merge 2 commits into
bytecodealliance:mainfrom
xtqqczze:padding

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Stacked on #1674.

Comment thread src/fs/statx.rs
pub stx_atomic_write_unit_max_opt: u32,
pub __spare2: [u32; 1usize],
pub __spare3: [u64; 8usize],
pub(crate) __spare2: Padding<[u32; 1usize]>,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I guess making this field non-public could be considered a breaking change, even though it was probably an error to expose padding fields.

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.

1 participant