diff --git a/src/util/module.zig b/src/util/module.zig index 943b8a7ebc48e63fee181a521f484e6765a88324..2d6d3f574117cb7ddae41e8a9295cf3b7c9e1722 100644 --- a/src/util/module.zig +++ b/src/util/module.zig @@ -76,7 +76,7 @@ pub const Module = struct { const h = &std.crypto.hash.Blake3.init(.{}); for (file_list_2.items) |item| { - const abs_path = try u.concat(&.{ cdpath, "/", self.clean_path, "/", item }); + const abs_path = try std.fs.path.join(gpa, &.{ cdpath, self.clean_path, item }); const file = try std.fs.cwd().openFile(abs_path, .{}); defer file.close(); const input = try file.reader().readAllAlloc(gpa, u.mb * 100);