From e743a5556cc15a0f2edd441c3cabac89d013d767 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Sat, 25 Nov 2023 12:37:01 +0100 Subject: [PATCH] std.meta.tagName is deprecated, use @tagName --- e2e/workspace/configure-mode/binary.zig | 2 +- zig/tests/integration_tests/workspace/print_build_mode.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/workspace/configure-mode/binary.zig b/e2e/workspace/configure-mode/binary.zig index 11309dd5..9decd8bb 100644 --- a/e2e/workspace/configure-mode/binary.zig +++ b/e2e/workspace/configure-mode/binary.zig @@ -4,6 +4,6 @@ const builtin = @import("builtin"); pub fn main() void { std.io.getStdOut().writer().print( "{s}\n", - .{std.meta.tagName(builtin.mode)}, + .{@tagName(builtin.mode)}, ) catch unreachable; } diff --git a/zig/tests/integration_tests/workspace/print_build_mode.zig b/zig/tests/integration_tests/workspace/print_build_mode.zig index 18ea213b..11ff4ddd 100644 --- a/zig/tests/integration_tests/workspace/print_build_mode.zig +++ b/zig/tests/integration_tests/workspace/print_build_mode.zig @@ -3,6 +3,6 @@ const builtin = @import("builtin"); pub fn main() void { std.io.getStdOut().writeAll( - std.meta.tagName(builtin.mode), + @tagName(builtin.mode), ) catch unreachable; }