all: update to latest std.fs.openIterableDir API

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-05-28 17:23:14 -07:00
parent 026dcd4c06
commit 98e580b030
2 changed files with 2 additions and 2 deletions

View file

@ -1581,7 +1581,7 @@ pub fn Sdk(comptime deps: anytype) type {
defer dir.close();
var dir_it = dir.iterate();
while (try dir_it.next()) |entry| {
if (entry.kind != .File) continue;
if (entry.kind != .file) continue;
var abs_path = try std.fs.path.join(b.allocator, &.{ abs_dir, entry.name });
abs_path = try std.fs.realpathAlloc(b.allocator, abs_path);