-
-
Notifications
You must be signed in to change notification settings - Fork 111
Derive macros are unsound #281
Copy link
Copy link
Open
Labels
The Language Could Change I GuessA change in the language could always potentially invalidate old codeA change in the language could always potentially invalidate old code
Description
Activity
Metadata
Metadata
Assignees
Labels
The Language Could Change I GuessA change in the language could always potentially invalidate old codeA change in the language could always potentially invalidate old code
I came across google/zerocopy#388 (comment) by chance. The same applies to this crate:
Segfaults. Solutions might involve generating a function that asserts (by compiling) that the types seen by the proc macro are the same as the types in the final type and that the final type contains no additional fields.