| ... | ... | @@ -271,7 +271,7 @@ pub fn make(s: *Step, options: MakeOptions) error{ MakeFailed, MakeSkipped }!voi |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | 273 | if (s.max_rss != 0 and s.result_peak_rss > s.max_rss) { |
| 274 | | const msg = std.fmt.allocPrint(arena, "memory usage peaked at {d} bytes, exceeding the declared upper bound of {d}", .{ |
| 274 | const msg = std.fmt.allocPrint(arena, "memory usage peaked at {0B:.2} ({0d} bytes), exceeding the declared upper bound of {1B:.2} ({1d} bytes)", .{ |
| 275 | 275 | s.result_peak_rss, s.max_rss, |
| 276 | 276 | }) catch @panic("OOM"); |
| 277 | 277 | s.result_error_msgs.append(arena, msg) catch @panic("OOM"); |