build: update to zig-0.16.0-dev.3133+5ec8e45f3

This commit is contained in:
CJ van den Berg 2026-04-09 19:47:17 +02:00
parent 8d359a75a1
commit d545b10ce8
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 27 additions and 30 deletions

View file

@ -254,11 +254,7 @@ fn store_stack_trace(stack_trace: std.builtin.StackTrace, writer: *std.Io.Writer
writer.print("Unable to store stack trace: debug info stripped\n", .{}) catch return;
return;
}
const debug_info = std.debug.getSelfDebugInfo() catch |err| {
writer.print("Unable to dump stack trace: Unable to open debug info: {s}\n", .{@errorName(err)}) catch return;
return;
};
std.debug.writeStackTrace(stack_trace, writer, debug_info, .no_color) catch |err| {
std.debug.writeStackTrace(&stack_trace, .{ .writer = writer, .mode = .no_color }) catch |err| {
writer.print("Unable to dump stack trace: {s}\n", .{@errorName(err)}) catch return;
return;
};
@ -655,7 +651,7 @@ fn to_result(ret: result) c.thespian_result {
if (!(cbor.match(msg, .{ "exit", "normal" }) catch false)) {
if (env.get().is("dump-stack-trace")) {
const trace_ = @errorReturnTrace();
if (trace_) |t| std.debug.dumpStackTrace(t.*);
if (trace_) |t| std.debug.dumpStackTrace(t);
}
}
return &error_buffer_tl;