| ... | @@ -460,7 +460,9 @@ pub fn zigTriple(self: Query, allocator: Allocator) Allocator.Error![]u8 { | ... | @@ -460,7 +460,9 @@ pub fn zigTriple(self: Query, allocator: Allocator) Allocator.Error![]u8 { |
| 460 | try formatVersion(v, result.writer()); | 460 | try formatVersion(v, result.writer()); |
| 461 | }, | 461 | }, |
| 462 | .windows => |v| { | 462 | .windows => |v| { |
| 463 | try result.writer().print("...{s}", .{v}); | 463 | // This is counting on a custom format() function defined on `WindowsVersion` |
| | 464 | // to add a prefix '.' and make there be a total of three dots. |
| | 465 | try result.writer().print("..{s}", .{v}); |
| 464 | }, | 466 | }, |
| 465 | } | 467 | } |
| 466 | } | 468 | } |