zig/lib
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
..
build-web std.Build: implement unit test timeouts 2025-10-18 09:28:39 +01:00
c compiler-rt: move strlen from libzigc to here 2025-08-30 06:36:41 +02:00
compiler std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
compiler_rt fix: make compiler_rt and std.Io.Writer compile on 16-bit platforms. 2025-10-27 11:17:48 +01:00
docs std.fmt: delete deprecated APIs 2025-08-31 12:49:18 -07:00
include remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
init
libc glibc: change library link order to prefer libc.so symbols 2025-10-19 11:50:32 +02:00
libcxx remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libcxxabi remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libtsan remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libunwind remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
std std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
c.zig
compiler_rt.zig compiler-rt: move strlen from libzigc to here 2025-08-30 06:36:41 +02:00
fuzzer.zig fuzzing: fix off-by-one in limit count 2025-09-25 17:16:10 -07:00
ubsan_rt.zig Coff: implement threadlocal variables 2025-10-10 22:47:47 -07:00
zig.h remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00