Commit 767eb5da77

Andrew Kelley <andrew@ziglang.org>
2023-12-04 01:52:26
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.
1 parent f10b526
Changed files (1)
lib
std
Build
Step
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);
             }
         }
     }