build: rename use_fsevents build option to macos_fsevents
This commit is contained in:
parent
82344d475b
commit
4a8ab550e9
2 changed files with 5 additions and 5 deletions
|
|
@ -174,7 +174,7 @@ fn recurse_watch(backend: *Backend, allocator: std.mem.Allocator, dir_path: []co
|
|||
|
||||
const Backend = switch (builtin.os.tag) {
|
||||
.linux => INotifyBackend,
|
||||
.macos => if (build_options.use_fsevents) FSEventsBackend else KQueueBackend,
|
||||
.macos => if (build_options.macos_fsevents) FSEventsBackend else KQueueBackend,
|
||||
.freebsd => KQueueBackend,
|
||||
.windows => WindowsBackend,
|
||||
else => @compileError("file_watcher: unsupported OS"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue