zig/lib/std/debug
mlugg c895aa7a35
std.debug.SelfInfo: concrete error sets
The downside of this commit is that more precise errors are no longer
propagated up. However, these errors were pretty useless in isolation
due to them having no context; and regardless, we intentionally swallow
most of them in `std.debug` anyway. Therefore, this is better in
practice, because it allows `std.debug` to give slightly more useful
warnings when handling errors. This commit does that for unwind errors,
for instance, which differentiate between the unwind info being corrupt
vs missing vs inaccessible vs unsupported.

A better solution would be to also include more detailed information via
the diagnostics pattern, but this commit is an incremental improvement.
2025-09-30 13:44:50 +01:00
..
Dwarf doc comments 2025-09-30 13:44:50 +01:00
SelfInfo std.debug.SelfInfo: concrete error sets 2025-09-30 13:44:50 +01:00
Coverage.zig std: Restore conventional compareFn behavior for binarySearch 2024-09-16 14:04:18 -07:00
Dwarf.zig std.debug.SelfInfo: concrete error sets 2025-09-30 13:44:50 +01:00
Info.zig the world if ElfModule didn't suck: 2025-09-30 13:44:49 +01:00
no_panic.zig std: remove old panic handlers after zig1.wasm update 2025-06-01 12:10:57 +01:00
Pdb.zig std.debug.Pdb: migrate more towards new Reader API 2025-08-28 22:41:06 -07:00
SelfInfo.zig std.debug.SelfInfo: concrete error sets 2025-09-30 13:44:50 +01:00
simple_panic.zig std.io: move getStdIn, getStdOut, getStdErr functions to fs.File 2025-07-07 22:43:51 -07:00