zig/lib/std/Build/Step
Matthew Lugg 74931fe25c
std.debug.lockStderrWriter: also return ttyconf
`std.Io.tty.Config.detect` may be an expensive check (e.g. involving
syscalls), and doing it every time we need to print isn't really
necessary; under normal usage, we can compute the value once and cache
it for the whole program's execution. Since anyone outputting to stderr
may reasonably want this information (in fact they are very likely to),
it makes sense to cache it and return it from `lockStderrWriter`. Call
sites who do not need it will experience no significant overhead, and
can just ignore the TTY config with a `const w, _` destructure.
2025-10-30 09:31:28 +00:00
..
CheckFile.zig rework std.Io.Writer.Allocating to support runtime-known alignment 2025-08-30 00:48:50 -07:00
CheckObject.zig std: fixes 2025-09-30 13:44:51 +01:00
Compile.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
ConfigHeader.zig rework std.Io.Writer.Allocating to support runtime-known alignment 2025-08-30 00:48:50 -07:00
Fail.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
Fmt.zig std.Build: separate errors from failed commands 2025-10-18 09:28:42 +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 std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
Options.zig std: updating to std.Io interface 2025-10-29 06:20:48 -07:00
RemoveDir.zig make zig compiler processes live across rebuilds 2024-07-14 19:51:16 -07:00
Run.zig std: updating to std.Io interface 2025-10-29 06:20:48 -07:00
TranslateC.zig std.Build.Step.TranslateC: forward --cache-dir and --global-cache-dir flags 2025-08-26 03:54:00 +00:00
UpdateSourceFiles.zig std: updating to std.Io interface 2025-10-29 06:20:48 -07:00
WriteFile.zig std: updating to std.Io interface 2025-10-29 06:20:48 -07:00