Rohlem
Rohlem
### Zig Version 0.13.0-dev.46+3648d7df1, 0.12.0-dev.3182+f3227598e ### Steps to Reproduce and Observed Behavior The compiler currently errors when an enum is declared as non-exhaustive (with pseudo-member `_`) while specifying every possible...
*(EDIT: Finished with initial editing: Added comments on foreign-endian arithmetic and non-byte-aligned `@bitCast`-s that I thought of too late.)* *(EDIT2: Finished (I think) restoring the post (EDIT3: again) after GitHub...
Not sure if this is seen as a language proposal and instantly closed without discussion, but worth a shot imo. `@offsetOf` currently errors when its first argument is a `union`...