commit
8a43e3e7c6
@ -34,6 +34,7 @@ pub fn config(step: *std.build.Step) anyerror!void {
|
|||||||
});
|
});
|
||||||
defer allocator.free(full_path);
|
defer allocator.free(full_path);
|
||||||
|
|
||||||
|
if (!std.fs.path.isAbsolute(full_path)) continue;
|
||||||
// Skip folders named zig
|
// Skip folders named zig
|
||||||
const file = std.fs.openFileAbsolute(full_path, .{}) catch continue;
|
const file = std.fs.openFileAbsolute(full_path, .{}) catch continue;
|
||||||
const stat = file.stat() catch continue;
|
const stat = file.stat() catch continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user