| ... | @@ -991,8 +991,9 @@ fn checkCompileErrors(arena: Allocator, maker: *Maker, step_index: Configuration | ... | @@ -991,8 +991,9 @@ fn checkCompileErrors(arena: Allocator, maker: *Maker, step_index: Configuration |
| 991 | const conf_comp = conf_step.extended.get(conf.extra).compile; | 991 | const conf_comp = conf_step.extended.get(conf.extra).compile; |
| 992 | | 992 | |
| 993 | // Clear this field so that it does not get printed by the build runner. | 993 | // Clear this field so that it does not get printed by the build runner. |
| 994 | const actual_eb = step.result_error_bundle; | 994 | var actual_eb = step.result_error_bundle; |
| 995 | step.result_error_bundle = .empty; | 995 | step.result_error_bundle = .empty; |
| | 996 | defer actual_eb.deinit(maker.gpa); |
| 996 | | 997 | |
| 997 | const actual_errors = ae: { | 998 | const actual_errors = ae: { |
| 998 | var aw: std.Io.Writer.Allocating = .init(arena); | 999 | var aw: std.Io.Writer.Allocating = .init(arena); |