zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 5984d5dbde62ed1fa26ee88f8e6720b78b812edf (tree)
parent 08850cfcb249fd806d597b5a718808dc5c00144d
Author: Mason Remaley <mason@gamesbymason.com>
Date:   Tue, 14 Apr 2026 14:36:20 -0700

Fixes compiler error in fuzz tester due to stack trace and error trace separation

Diffstat:
Mlib/compiler/test_runner.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/compiler/test_runner.zig b/lib/compiler/test_runner.zig @@ -563,7 +563,7 @@ pub fn fuzz( const stderr = std.debug.lockStderr(&.{}).terminal(); p: { if (@errorReturnTrace()) |trace| { - std.debug.writeStackTrace(trace, stderr) catch break :p; + std.debug.writeErrorReturnTrace(trace, stderr) catch break :p; } stderr.writer.print("failed with error.{t}\n", .{err}) catch break :p; }