mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
The packed struct example was mistakenly applying endianness where it shouldn't have been. This wasn't being caught because we don't currently test the examples on Big-endian systems. I updated the test to remove the endianness where it didn't apply, and added a new part of the test to demonstrate when it would apply.