diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-07-25 23:16:13 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-07-30 13:44:36 -0400 |
| commit | cc4552733351390aecab9ae900beb822237d6041 (patch) | |
| tree | 575c7ad933f2ea04c4125704a55dc823839af57e /std/build.zig | |
| parent | 5d4a02c350a18a70cf1f92f6638b5d26689c16b4 (diff) | |
| download | zig-cc4552733351390aecab9ae900beb822237d6041.tar.gz zig-cc4552733351390aecab9ae900beb822237d6041.zip | |
introduce std.event.fs for async file system functions
only works on linux so far
Diffstat (limited to 'std/build.zig')
| -rw-r--r-- | std/build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/build.zig b/std/build.zig index 68cf13c1eb..021b8399e3 100644 --- a/std/build.zig +++ b/std/build.zig @@ -603,10 +603,10 @@ pub const Builder = struct { } fn copyFile(self: *Builder, source_path: []const u8, dest_path: []const u8) !void { - return self.copyFileMode(source_path, dest_path, os.default_file_mode); + return self.copyFileMode(source_path, dest_path, os.File.default_mode); } - fn copyFileMode(self: *Builder, source_path: []const u8, dest_path: []const u8, mode: os.FileMode) !void { + fn copyFileMode(self: *Builder, source_path: []const u8, dest_path: []const u8, mode: os.File.Mode) !void { if (self.verbose) { warn("cp {} {}\n", source_path, dest_path); } |
