bytemuck icon indicating copy to clipboard operation
bytemuck copied to clipboard

NoUninit Support for enums with repr(C, Int)

Open hannahfluch opened this issue 10 months ago • 1 comments

I was wondering whether, it would be possible to add NoUninit-derive support for enums repr(C, Int). I saw that enums-with-fields support is already being worked (#292). Unfortunately, repr(C, Int) is still not possible. Is this planned for the future or not possible?

hannahfluch avatar Mar 02 '25 16:03 hannahfluch

I do not work on the proc-macros directly, but when people submit new code that expands what the proc-macros can do I'm happy to get a review, merge it, and publish it. You could do the PR, or you could find someone who has skills with proc-macros.

Lokathor avatar Mar 02 '25 16:03 Lokathor

This was fixed by #292 in the end!

fu5ha avatar Jun 09 '25 17:06 fu5ha