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.
This commit is contained in:
Andrew Kelley 2023-12-03 17:52:26 -07:00
parent f10b5268e8
commit 767eb5da77

View File

@ -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);
}
}
}