all: update to latest std.fs.openIterableDir API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
026dcd4c06
commit
98e580b030
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ pub fn run(self: *Builder) !void {
|
|||
var wasm_file_name: ?[]const u8 = null;
|
||||
var out_dir_iter = out_dir.iterate();
|
||||
while (try out_dir_iter.next()) |entry| {
|
||||
if (entry.kind != .File) continue;
|
||||
if (entry.kind != .file) continue;
|
||||
if (std.mem.eql(u8, std.fs.path.extension(entry.name), ".wasm")) {
|
||||
wasm_file_name = try allocator.dupe(u8, entry.name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue