From 5d01e5b5407a1a25a21844105687fb89072a8ae4 Mon Sep 17 00:00:00 2001 From: mo Date: Sun, 29 Sep 2024 22:19:02 +1300 Subject: [PATCH] Ignore failure in Watch.init and just return Fixes #2040. --- src/build_runner/0.12.0.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build_runner/0.12.0.zig b/src/build_runner/0.12.0.zig index 179a71299..a928597e1 100644 --- a/src/build_runner/0.12.0.zig +++ b/src/build_runner/0.12.0.zig @@ -419,7 +419,7 @@ pub fn main() !void { else => false, }; if (!watch_suported) return; - var w = try Watch.init(); + var w = Watch.init() catch return; var step_stack = try stepNamesToStepStack(gpa, builder, targets.items);