authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-29 16:34:26 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-29 16:34:26 -07:00
logc1da2e8a31858880eb3e4cfcf12de0a865617623
treed00e08fa0a6c1e6305f25369728f3eb5ffe8cfab
parentc50f286c78a4a9704ac3f9fecd7c351e7da89e02
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

macos support


6 files changed, 6 insertions(+), 0 deletions(-)

counting_writer.zig+1
...@@ -5,6 +5,7 @@ const nio = @import("./nio.zig");...@@ -5,6 +5,7 @@ const nio = @import("./nio.zig");
55
6const sys = switch (builtin.target.os.tag) {6const sys = switch (builtin.target.os.tag) {
7 .linux => @import("sys-linux"),7 .linux => @import("sys-linux"),
8 .macos => @import("sys-darwin"),
8 else => unreachable,9 else => unreachable,
9};10};
1011
fixed_buffer_stream.zig+1
...@@ -5,6 +5,7 @@ const sys_linux = @import("sys-linux");...@@ -5,6 +5,7 @@ const sys_linux = @import("sys-linux");
55
6const sys = switch (builtin.target.os.tag) {6const sys = switch (builtin.target.os.tag) {
7 .linux => sys_linux,7 .linux => sys_linux,
8 .macos => @import("sys-darwin"),
8 else => unreachable,9 else => unreachable,
9};10};
1011
licenses.txt+1
...@@ -5,6 +5,7 @@ MPL-2.0:...@@ -5,6 +5,7 @@ MPL-2.0:
5MIT:5MIT:
6= https://spdx.org/licenses/MIT6= https://spdx.org/licenses/MIT
7- git https://github.com/nektro/zig-extras7- git https://github.com/nektro/zig-extras
8- git https://github.com/nektro/zig-sys-darwin
8- git https://github.com/nektro/zig-sys-linux9- git https://github.com/nektro/zig-sys-linux
910
10Unspecified:11Unspecified:
nio.zig+1
...@@ -7,6 +7,7 @@ pub const fmt = @import("./fmt.zig");...@@ -7,6 +7,7 @@ pub const fmt = @import("./fmt.zig");
77
8const sys = switch (builtin.target.os.tag) {8const sys = switch (builtin.target.os.tag) {
9 .linux => sys_linux,9 .linux => sys_linux,
10 .macos => @import("sys-darwin"),
10 else => unreachable,11 else => unreachable,
11};12};
1213
null_writer.zig+1
...@@ -5,6 +5,7 @@ const nio = @import("./nio.zig");...@@ -5,6 +5,7 @@ const nio = @import("./nio.zig");
55
6const sys = switch (builtin.target.os.tag) {6const sys = switch (builtin.target.os.tag) {
7 .linux => @import("sys-linux"),7 .linux => @import("sys-linux"),
8 .macos => @import("sys-darwin"),
8 else => unreachable,9 else => unreachable,
9};10};
1011
zigmod.yml+1
...@@ -7,3 +7,4 @@ min_zig_version: 0.14.0...@@ -7,3 +7,4 @@ min_zig_version: 0.14.0
7dependencies:7dependencies:
8 - src: git https://github.com/nektro/zig-sys-linux8 - src: git https://github.com/nektro/zig-sys-linux
9 - src: git https://github.com/nektro/zig-extras9 - src: git https://github.com/nektro/zig-extras
10 - src: git https://github.com/nektro/zig-sys-darwin