We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I have no experience with alignment yet, so I don't know what's special about this or how to look into it. Apologies if it's a duplicate.
pub fn main() void { var s: struct {} align(4) = undefined; }
Assertion failed. This is a bug in the Zig compiler. ???:?:?: 0x55d02c43a2c9 in ??? (???) ...
The text was updated successfully, but these errors were encountered:
I'm pretty sure 0 sized variables can't have memory representation so it also cannot be aligned.
Sorry, something went wrong.
Makes sense, I figured my example was probably invalid. This can track the compiler bug at least.
Successfully merging a pull request may close this issue.
I have no experience with alignment yet, so I don't know what's special about this or how to look into it. Apologies if it's a duplicate.
The text was updated successfully, but these errors were encountered: