| author | |
| committer | |
| log | e6b6a728b36335d9ac32dd216082aaf1faa6327e |
| tree | b2899b2d2c7b9990a68acfcc1228473bc24c4682 |
| parent | 001ff7b3b2176467a9169069938396dcca75e93c |
by obtaining the stderr lock when printing the build summary1 files changed, 4 insertions(+), 1 deletions(-)
lib/compiler/build_runner.zig+4-1| ... | ... | @@ -682,9 +682,12 @@ fn runStepNames( |
| 682 | 682 | } |
| 683 | 683 | |
| 684 | 684 | const ttyconf = run.ttyconf; |
| 685 | const stderr = run.stderr; | |
| 686 | 685 | |
| 687 | 686 | if (run.summary != .none) { |
| 687 | std.debug.lockStdErr(); | |
| 688 | defer std.debug.unlockStdErr(); | |
| 689 | const stderr = run.stderr; | |
| 690 | ||
| 688 | 691 | const total_count = success_count + failure_count + pending_count + skipped_count; |
| 689 | 692 | ttyconf.setColor(stderr, .cyan) catch {}; |
| 690 | 693 | stderr.writeAll("Build Summary:") catch {}; |