We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here they explain the need for repr(C) structs that are both aligned and packed: https://immunant.com/blog/2020/06/kernel_modules/
Their solution:
#[repr(C, align(64))] pub struct xregs_state(pub xregs_state_Inner); #[repr(C, packed)] pub struct xregs_state_Inner { // ... }
Perhaps it's worth supporting this directly.
The text was updated successfully, but these errors were encountered:
Closing as duplicate of #59154
Sorry, something went wrong.
No branches or pull requests
Here they explain the need for repr(C) structs that are both aligned and packed:
https://immunant.com/blog/2020/06/kernel_modules/
Their solution:
Perhaps it's worth supporting this directly.
The text was updated successfully, but these errors were encountered: