0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/debug
Andrew Kelley bee8005fe6 std.heap.DebugAllocator: never detect TTY config
instead, allow the user to set it as a field.

this fixes a bug where leak printing and error printing would run tty
config detection for stderr, and then emit a log, which is not necessary
going to print to stderr.

however, the nice defaults are gone; the user must explicitly assign the
tty_config field during initialization or else the logging will not have
color.

related: https://github.com/ziglang/zig/issues/24510
History 2025-12-23 22:15:08 -08:00
..
Dwarf update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
SelfInfo std.debug: simplify printLineFromFile 2025-12-23 22:15:08 -08:00
Coverage.zig update deprecated ArrayListUnmanaged usage (#25958) 2025-11-20 14:46:23 -08:00
cpu_context.zig represent Mac Catalyst as aarch64-maccatalyst-none rather than aarch64-ios-macabi 2025-11-14 11:33:35 +01:00
Dwarf.zig std: replace usages of std.mem.indexOf with std.mem.find 2025-12-05 14:31:27 +01:00
ElfFile.zig std.debug: simplify printLineFromFile 2025-12-23 22:15:08 -08:00
Info.zig std.heap.DebugAllocator: never detect TTY config 2025-12-23 22:15:08 -08:00
MachOFile.zig std.debug: simplify printLineFromFile 2025-12-23 22:15:08 -08:00
no_panic.zig std: remove old panic handlers after zig1.wasm update 2025-06-01 12:10:57 +01:00
Pdb.zig update all occurrences of std.fs.File to std.Io.File 2025-12-23 22:15:07 -08:00
simple_panic.zig update all occurrences of std.fs.File to std.Io.File 2025-12-23 22:15:07 -08:00