Support non zig dependencies

Dependencies no longer require a build.zig file.

Adds path function to Dependency struct which
returns a LazyPath into a dependency.
This commit is contained in:
antlilja
2023-09-17 19:38:19 +02:00
committed by Matthew Lugg
parent c9413a880b
commit 8eff0a0a66
3 changed files with 109 additions and 38 deletions

View File

@@ -1896,7 +1896,7 @@ fn make(step: *Step, prog_node: *std.Progress.Node) !void {
continue;
}
},
.generated => {},
.generated, .dependency => {},
};
zig_args.appendAssumeCapacity(rpath.getPath2(b, step));