-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
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
repr(align(...))
added or removed on struct, enum, or union
#74
Comments
repr(align(...))
added to struct or enum
I'm interested in working on this! |
Awesome! Here are the most-related lints we have right now:
I put a little syntax explainer in this sibling issue, it covers most of the concepts this lint will need as well so please check it out: Let's focus on writing the query we'll need first, and then we can pretty straightforwardly add the test cases, error messages, etc. In addition to the information in the link above:
It's totally fine if the new lint runs into bug #104 as well, that's on me for not representing attributes better in the schema. Whenever we fix #104, we can do a pass through all the affected lints as well, and in the meantime we'll just bear with the extra false-negatives. In this project, false negatives are unfortunate, but false positives are deal-breakers. Ping me with any questions! Happy to hop on a video call if that would make it easier to get started, and I'm also in the rust-lang zulip if you'd prefer more interactive text chat. I'm also working with a few friends on a WASM-powered web editor for Trustfall queries with all the modern conveniences (autocomplete, syntax highlighting, etc.), stay tuned! 🤞 |
repr(align(...))
added to struct or enumrepr(align(...))
added, removed, or changed on struct, enum, or union
repr(align(...))
added, removed, or changed on struct, enum, or unionrepr(align(...))
added or removed on struct, enum, or union
Hi @obi1kenobi, I've messaged you on Zulip about starting to work on this issue. Documentation is clear (repr-c-add) that adding
However, I am unsure about adding C to a primitive representation. Any guidance would be appreciated! EDIT: Whoops, I just realised I misread the title of the issue 😂 and this post really belongs in #949. Happy to delete/move it if you want to keep this issue clean. |
No worries, it's all good. |
Breaking because of:
https://jack.wrenn.fyi/blog/semver-snares-alignment/
https://old.reddit.com/r/rust/comments/kr41sq/semver_snares_sizedness_and_size/
Now documented at:
https://doc.rust-lang.org/cargo/reference/semver.html#type-layout
The text was updated successfully, but these errors were encountered: