packed_struct.rs icon indicating copy to clipboard operation
packed_struct.rs copied to clipboard

Simplified the parsing for primitive enum variants, removed integer type autodetection

Open rudib opened this issue 3 years ago • 0 comments

Rely on the compiler to optimize the primitive value lookups - the code gen won't resolve the values of the discriminants anymore. Enabled usage of any sort of possible enum definitions, like those using consts or any future language changes.

Implements #87

rudib avatar Mar 08 '22 23:03 rudib