Commit ec5a433fdf

antlilja <liljaanton2001@gmail.com>
2024-01-23 21:48:12
Fix FastMath packed struct
* Added missing legacy field (unused_algebra) * Made struct correct size (u32 -> u8)
1 parent 7cb8813
Changed files (1)
src
codegen
src/codegen/llvm/Builder.zig
@@ -7340,7 +7340,8 @@ const MemoryAccessInfo = packed struct(u32) {
     _: u13 = undefined,
 };
 
-pub const FastMath = packed struct(u32) {
+pub const FastMath = packed struct(u8) {
+    unsafe_algebra: bool = false, // Legacy
     nnan: bool = false,
     ninf: bool = false,
     nsz: bool = false,