authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-10 00:35:27-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-06-10 00:35:27-04:00
log5017a1d895847df6cc02dc4bedd02aa341177171
tree4f04e9911a53018f229e8da797d614e539f2b0d1
parentb735764898412c5b9388fdf729c8ad8db43ddde5

fix build on macos


2 files changed, 2 insertions(+), 2 deletions(-)

README.md+1-1
...@@ -53,7 +53,7 @@ brew install cmake llvm@8...@@ -53,7 +53,7 @@ brew install cmake llvm@8
53brew outdated llvm@8 || brew upgrade llvm@853brew outdated llvm@8 || brew upgrade llvm@8
54mkdir build54mkdir build
55cd build55cd build
56cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/llvm/8.0.056cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/llvm/8.0.0_1
57make install57make install
58```58```
5959
std/event/fs.zig+1-1
...@@ -887,7 +887,7 @@ pub fn Watch(comptime V: type) type {...@@ -887,7 +887,7 @@ pub fn Watch(comptime V: type) type {
887 }887 }
888888
889 async fn addFileKEvent(self: *Self, file_path: []const u8, value: V) !?V {889 async fn addFileKEvent(self: *Self, file_path: []const u8, value: V) !?V {
890 const resolved_path = try std.fs.path.resolve(self.channel.loop.allocator, [][]const u8{file_path});890 const resolved_path = try std.fs.path.resolve(self.channel.loop.allocator, [_][]const u8{file_path});
891 var resolved_path_consumed = false;891 var resolved_path_consumed = false;
892 defer if (!resolved_path_consumed) self.channel.loop.allocator.free(resolved_path);892 defer if (!resolved_path_consumed) self.channel.loop.allocator.free(resolved_path);
893893