aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-31 13:02:38 -0700
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-31 21:37:35 -0400
commit3fc6fc68129219a026ae3d7dff82513758e33a21 (patch)
treeab1a4fdc8886513ddbbfa7167ecf92eede629cfd /tools
parent149200aac5f7f78fbb3427e3a9445c80efd2116b (diff)
downloadzig-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 'tools')
-rw-r--r--tools/gen_stubs.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gen_stubs.zig b/tools/gen_stubs.zig
index 1b70023666..b603213566 100644
--- a/tools/gen_stubs.zig
+++ b/tools/gen_stubs.zig
@@ -234,12 +234,12 @@ pub fn main() !void {
switch (header.is_64) {
true => switch (header.endian) {
- .Big => try parseElf(parse, true, .Big),
- .Little => try parseElf(parse, true, .Little),
+ .big => try parseElf(parse, true, .big),
+ .little => try parseElf(parse, true, .little),
},
false => switch (header.endian) {
- .Big => try parseElf(parse, false, .Big),
- .Little => try parseElf(parse, false, .Little),
+ .big => try parseElf(parse, false, .big),
+ .little => try parseElf(parse, false, .little),
},
}
}