aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-09-03 15:42:33 +0100
committermlugg <mlugg@mlugg.co.uk>2025-09-30 13:44:50 +0100
commitc895aa7a35b178576b89e600a20af9d16da36dea (patch)
tree0816ce721cd4343b5abd3c86187ca064b8826420 /lib/std/Thread.zig
parentdd9cb1beead2d0b9a22decf089aadf51cfe90da8 (diff)
downloadzig-c895aa7a35b178576b89e600a20af9d16da36dea.tar.gz
zig-c895aa7a35b178576b89e600a20af9d16da36dea.zip
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.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions