diff --git a/lib/std/Build/Step.zig b/lib/std/Build/Step.zig index 773706d39ae12c07c067f5600a87b1f15a0f7600..51c1514f8597790dd8c02f53eae2e23dd9a26fd7 100644 --- a/lib/std/Build/Step.zig +++ b/lib/std/Build/Step.zig @@ -981,6 +981,7 @@ pub fn reset(step: *Step, gpa: Allocator) void { step.result_peak_rss = 0; step.result_failed_command = null; step.test_results = .{}; + step.clearWatchInputs(); step.result_error_bundle.deinit(gpa); step.result_error_bundle = std.zig.ErrorBundle.empty;