zig/lib/std/Build/Step
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
..
CheckFile.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
CheckObject.zig std.io.Writer.printValue: rework logic 2025-07-07 22:43:53 -07:00
Compile.zig fix build runner 2025-07-07 22:43:52 -07:00
ConfigHeader.zig std.io.Writer.Allocating: rename interface to writer 2025-07-07 22:43:52 -07:00
Fail.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
Fmt.zig Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
InstallArtifact.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
InstallDir.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
InstallFile.zig Build: add install commands to --verbose output 2025-06-19 11:45:06 -04:00
ObjCopy.zig Build: add install commands to --verbose output 2025-06-19 11:45:06 -04:00
Options.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
RemoveDir.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
Run.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
TranslateC.zig std.Build: add API to create Compile steps from existing module 2024-12-18 01:48:54 +05:00
UpdateSourceFiles.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
WriteFile.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00