| ... | @@ -750,7 +750,7 @@ fn runStepNames( | ... | @@ -750,7 +750,7 @@ fn runStepNames( |
| 750 | if (run.prominent_compile_errors and total_compile_errors > 0) { | 750 | if (run.prominent_compile_errors and total_compile_errors > 0) { |
| 751 | for (step_stack.keys()) |s| { | 751 | for (step_stack.keys()) |s| { |
| 752 | if (s.result_error_bundle.errorMessageCount() > 0) { | 752 | if (s.result_error_bundle.errorMessageCount() > 0) { |
| 753 | s.result_error_bundle.renderToStdErr(.{ .ttyconf = ttyconf, .include_reference_trace = (b.reference_trace orelse 0) > 0 }); | 753 | s.result_error_bundle.renderToStdErr(.{ .ttyconf = ttyconf }); |
| 754 | } | 754 | } |
| 755 | } | 755 | } |
| 756 | | 756 | |
| ... | @@ -1129,11 +1129,7 @@ fn workerMakeOneStep( | ... | @@ -1129,11 +1129,7 @@ fn workerMakeOneStep( |
| 1129 | defer std.debug.unlockStdErr(); | 1129 | defer std.debug.unlockStdErr(); |
| 1130 | | 1130 | |
| 1131 | const gpa = b.allocator; | 1131 | const gpa = b.allocator; |
| 1132 | const options: std.zig.ErrorBundle.RenderOptions = .{ | 1132 | printErrorMessages(gpa, s, .{ .ttyconf = run.ttyconf }, run.stderr, run.prominent_compile_errors) catch {}; |
| 1133 | .ttyconf = run.ttyconf, | | |
| 1134 | .include_reference_trace = (b.reference_trace orelse 0) > 0, | | |
| 1135 | }; | | |
| 1136 | printErrorMessages(gpa, s, options, run.stderr, run.prominent_compile_errors) catch {}; | | |
| 1137 | } | 1133 | } |
| 1138 | | 1134 | |
| 1139 | handle_result: { | 1135 | handle_result: { |