| ... | @@ -133,9 +133,7 @@ pub const Target = struct { | ... | @@ -133,9 +133,7 @@ pub const Target = struct { |
| 133 | if (@enumToInt(self) >= @enumToInt(WindowsVersion.nt4) and @enumToInt(self) <= @enumToInt(WindowsVersion.win10_19h1)) { | 133 | if (@enumToInt(self) >= @enumToInt(WindowsVersion.nt4) and @enumToInt(self) <= @enumToInt(WindowsVersion.win10_19h1)) { |
| 134 | try std.fmt.format(out_stream, "WindowsVersion.{}", .{@tagName(self)}); | 134 | try std.fmt.format(out_stream, "WindowsVersion.{}", .{@tagName(self)}); |
| 135 | } else { | 135 | } else { |
| 136 | try std.fmt.format(out_stream, "WindowsVersion(", .{@typeName(@This())}); | 136 | try std.fmt.format(out_stream, "WindowsVersion({})", .{@enumToInt(self)}); |
| 137 | try std.fmt.format(out_stream, "{}", .{@enumToInt(self)}); | | |
| 138 | try out_stream.writeAll(")"); | | |
| 139 | } | 137 | } |
| 140 | } | 138 | } |
| 141 | } | 139 | } |