| ... | ... | @@ -1528,7 +1528,6 @@ pub fn printErrorMessages( |
| 1528 | 1528 | ) !void { |
| 1529 | 1529 | const c = &maker.scanned_config.configuration; |
| 1530 | 1530 | const gpa = maker.gpa; |
| 1531 | | log.err("TODO also report if result_oom flag is set", .{}); |
| 1532 | 1531 | const writer = stderr.writer; |
| 1533 | 1532 | if (error_style.verboseContext()) { |
| 1534 | 1533 | // Provide context for where these error messages are coming from by |
| ... | ... | @@ -1608,6 +1607,13 @@ pub fn printErrorMessages( |
| 1608 | 1607 | } |
| 1609 | 1608 | } |
| 1610 | 1609 | |
| 1610 | if (failing_step.result_oom) { |
| 1611 | try stderr.setColor(.red); |
| 1612 | try writer.writeAll("error information missing due to allocation failure"); |
| 1613 | try stderr.setColor(.reset); |
| 1614 | try writer.writeByte('\n'); |
| 1615 | } |
| 1616 | |
| 1611 | 1617 | try writer.writeByte('\n'); |
| 1612 | 1618 | } |
| 1613 | 1619 | |