Skip to content

Commit

Permalink
std.meta.tagName is deprecated, use @TagName
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Nov 25, 2023
1 parent 90498d8 commit e743a55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/workspace/configure-mode/binary.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion zig/tests/integration_tests/workspace/print_build_mode.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit e743a55

Please sign in to comment.