From 767eb5da7793d83a7b5b666e5367727fc4f0160b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 3 Dec 2023 17:52:26 -0700 Subject: [PATCH] fix infinite loop in Run step Previously this relied on recursion; now it relies on the recursive iteration which is better, but means the recursive call needs to be deleted. --- lib/std/Build/Step/Run.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/std/Build/Step/Run.zig b/lib/std/Build/Step/Run.zig index 92a40dcd1f..36b2eb82eb 100644 --- a/lib/std/Build/Step/Run.zig +++ b/lib/std/Build/Step/Run.zig @@ -1297,7 +1297,6 @@ fn addPathForDynLibs(self: *Run, artifact: *Step.Compile) void { if (item.module == &other.root_module) { if (item.module.target.?.target.os.tag == .windows and other.isDynamicLibrary()) { addPathDir(self, fs.path.dirname(other.getEmittedBin().getPath(b)).?); - addPathForDynLibs(self, other); } } }