diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-31 13:02:38 -0700 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-31 21:37:35 -0400 |
| commit | 3fc6fc68129219a026ae3d7dff82513758e33a21 (patch) | |
| tree | ab1a4fdc8886513ddbbfa7167ecf92eede629cfd /lib/std/Build/Step/CheckObject.zig | |
| parent | 149200aac5f7f78fbb3427e3a9445c80efd2116b (diff) | |
| download | zig-3fc6fc68129219a026ae3d7dff82513758e33a21.tar.gz zig-3fc6fc68129219a026ae3d7dff82513758e33a21.zip | |
std.builtin.Endian: make the tags lower case
Let's take this breaking change opportunity to fix the style of this
enum.
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
| -rw-r--r-- | lib/std/Build/Step/CheckObject.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Build/Step/CheckObject.zig b/lib/std/Build/Step/CheckObject.zig index 45a5ea541f..66bf5cadf3 100644 --- a/lib/std/Build/Step/CheckObject.zig +++ b/lib/std/Build/Step/CheckObject.zig @@ -1624,8 +1624,8 @@ const WasmDumper = struct { switch (opcode) { .i32_const => try writer.print("i32.const {x}\n", .{try std.leb.readILEB128(i32, reader)}), .i64_const => try writer.print("i64.const {x}\n", .{try std.leb.readILEB128(i64, reader)}), - .f32_const => try writer.print("f32.const {x}\n", .{@as(f32, @bitCast(try reader.readInt(u32, .Little)))}), - .f64_const => try writer.print("f64.const {x}\n", .{@as(f64, @bitCast(try reader.readInt(u64, .Little)))}), + .f32_const => try writer.print("f32.const {x}\n", .{@as(f32, @bitCast(try reader.readInt(u32, .little)))}), + .f64_const => try writer.print("f64.const {x}\n", .{@as(f64, @bitCast(try reader.readInt(u64, .little)))}), .global_get => try writer.print("global.get {x}\n", .{try std.leb.readULEB128(u32, reader)}), else => unreachable, } |
