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
5353brew outdated llvm@8 || brew upgrade llvm@8
5454mkdir build
5555cd build
56cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/llvm/8.0.0
56cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/llvm/8.0.0_1
5757make install
5858```
5959
std/event/fs.zig+1-1
......@@ -887,7 +887,7 @@ pub fn Watch(comptime V: type) type {
887887 }
888888
889889 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});
891891 var resolved_path_consumed = false;
892892 defer if (!resolved_path_consumed) self.channel.loop.allocator.free(resolved_path);
893893