zig/tools
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
..
crc std.hash.crc: simplify api 2024-04-28 21:12:01 +12:00
spirv spirv: snake-case the spec 2025-07-14 15:16:17 +02:00
docgen.zig fix miscellaneous compilation errors 2025-10-29 06:20:50 -07:00
doctest.zig fix miscellaneous compilation errors 2025-10-29 06:20:50 -07:00
dump-cov.zig update tools and other miscellaneous things to new APIs 2025-08-30 00:48:50 -07:00
fetch_them_macos_headers.zig std.Io.Threaded: add ioBasic which disables networking 2025-10-29 06:20:51 -07:00
gen_macos_headers_c.zig std.Io.Threaded: add ioBasic which disables networking 2025-10-29 06:20:51 -07:00
gen_outline_atomics.zig update more to avoid GenericWriter 2025-08-28 18:30:57 -07:00
gen_spirv_spec.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
gen_stubs.zig std.elf: change STV enum from u2 to u3 2025-09-04 01:16:23 +02:00
generate_c_size_and_align_checks.zig update some tests and tools for new Io APIs 2025-10-29 06:20:50 -07:00
generate_JSONTestSuite.zig update tools and other miscellaneous things to new APIs 2025-08-30 00:48:50 -07:00
generate_linux_syscalls.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
incr-check.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
lldb_pretty_printers.py std: delete SegmentedList again 2025-09-19 16:40:00 -07:00
macos-headers.c Move fetch-them-macos-headers tools to ziglang/zig. 2024-12-14 23:45:18 +01:00
migrate_langref.zig update some tests and tools for new Io APIs 2025-10-29 06:20:50 -07:00
process_headers.zig update tools and other miscellaneous things to new APIs 2025-08-30 00:48:50 -07:00
stage1_gdb_pretty_printers.py gdb: restructure pretty printers into different files 2022-03-16 18:13:10 +01:00
stage2_gdb_pretty_printers.py InternPool: port most of value tags 2023-06-10 20:47:54 -07:00
std_gdb_pretty_printers.py tools: implement more lldb pretty printers 2023-02-27 05:37:03 -05:00
update-linux-headers.zig update tools and other miscellaneous things to new APIs 2025-08-30 00:48:50 -07:00
update_clang_options.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
update_cpu_features.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
update_crc_catalog.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
update_freebsd_libc.zig update_freebsd_libc: Add tool for updating FreeBSD libc startup code. 2025-05-10 12:19:26 +02:00
update_glibc.zig update tools and other miscellaneous things to new APIs 2025-08-30 00:48:50 -07:00
update_mingw.zig Add depth function to Walker.Entry 2025-10-03 16:29:09 -07:00
update_netbsd_libc.zig update_netbsd_libc: Add tool for updating NetBSD libc startup code. 2025-05-17 04:41:27 +02:00
zig_gdb_pretty_printers.py Update GDB pretty printers 2023-03-30 12:15:53 +03:00