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
It is sort of surprising and makes a little harder to generate code using macros like:
macro_rules! read_buf { ($ty: ty) => ({ let mut buf = [0; std::mem::size_of::<$ty>()]; ....
The text was updated successfully, but these errors were encountered:
This is a dupe of rust-lang/rfcs#1144. Unfortunately, the feature has some (possibly) surprising subtleties that make it trickier than one might hope.
Thanks for filing!
Sorry, something went wrong.
sizeof
alignof
offsetof
No branches or pull requests
It is sort of surprising and makes a little harder to generate code using macros like:
The text was updated successfully, but these errors were encountered: