zig/lib/std/Build
Andrew Kelley 7e2a26c0c4 std.io.Writer.printValue: rework logic
Alignment and fill options only apply to numbers.

Rework the implementation to mainly branch on the format string rather
than the type information. This is more straightforward to maintain and
more straightforward for comptime evaluation.

Enums support being printed as decimal, hexadecimal, octal, and binary.

`formatInteger` is another possible format method that is
unconditionally called when the value type is struct and one of the
integer-printing format specifiers are used.
2025-07-07 22:43:53 -07:00
..
Cache std.fmt: fully remove format string from format methods 2025-07-07 22:43:53 -07:00
Fuzz std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Step std.io.Writer.printValue: rework logic 2025-07-07 22:43:53 -07:00
Cache.zig std.io.Reader: fix appendRemaining 2025-07-07 22:43:52 -07:00
Fuzz.zig fix build runner 2025-07-07 22:43:52 -07:00
Module.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
Step.zig fix build runner 2025-07-07 22:43:52 -07:00
Watch.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00