commit 23a806102a5a3d5b28b2e5ab5ec30e191daea6f4 (tree)
parent 8199428beb1be2c59fc1da535372f5f7170f72b7
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sun, 23 Jul 2023 20:30:34 -0700
Revert "zig fmt: additionally auto-fix `@byteSwap` (#16462)"
This reverts commit f31e114f633f5d57f6d09a616f5997d83949f641.
This commit was incorrect; `@byteSwap` was not modified during the
0.11.0 release cycle.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/lib/std/zig/render.zig b/lib/std/zig/render.zig
@@ -1398,7 +1398,6 @@ fn renderBuiltinCall(
"@floatCast",
"@intCast",
"@ptrCast",
-
"@intFromFloat",
"@floatToInt",
"@enumFromInt",
@@ -1407,9 +1406,7 @@ fn renderBuiltinCall(
"@intToFloat",
"@ptrFromInt",
"@intToPtr",
-
"@truncate",
- "@byteSwap",
}) |name| {
if (mem.eql(u8, slice, name)) break true;
} else false;