zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 767eb5da7793d83a7b5b666e5367727fc4f0160b (tree)
parent f10b5268e80d3f77198a55161427ad8ba6edce05
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sun,  3 Dec 2023 17:52:26 -0700

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.

Diffstat:
Mlib/std/Build/Step/Run.zig | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git 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); } } }