From 8c8838542f508d5fec910fa5d3e1d6e9a89cb734 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 14 Jan 2024 14:48:39 -0800 Subject: [PATCH] use Apple logging subsystem on all Darwin targets --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index a761f359e..fe3c24925 100644 --- a/src/main.zig +++ b/src/main.zig @@ -130,7 +130,7 @@ pub const std_options = struct { // // sudo log stream --level debug --predicate 'subsystem=="com.mitchellh.ghostty"' // - if (builtin.os.tag == .macos) { + if (builtin.target.isDarwin()) { // Convert our levels to Mac levels const mac_level: macos.os.LogType = switch (level) { .debug => .debug,