authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-23 18:56:05-07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-23 18:56:05-07:00
logb9ecc9e21d8244413512911240eceb82f0844158
tree1272b7fefff345dc593e72144b0fd885e2aef81f
parentd4aa3de28337219787be1af5049f0dc977ac197b
signature Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

add support freebsd, netbsd, openbsd


3 files changed, 9 insertions(+), 0 deletions(-)

licenses.txt+3
...@@ -4,7 +4,10 @@ MIT:...@@ -4,7 +4,10 @@ MIT:
4- git https://github.com/nektro/zig-expect4- git https://github.com/nektro/zig-expect
5- git https://github.com/nektro/zig-extras5- git https://github.com/nektro/zig-extras
6- git https://github.com/nektro/zig-sys-darwin6- git https://github.com/nektro/zig-sys-darwin
7- git https://github.com/nektro/zig-sys-freebsd
7- git https://github.com/nektro/zig-sys-linux8- git https://github.com/nektro/zig-sys-linux
9- git https://github.com/nektro/zig-sys-netbsd
10- git https://github.com/nektro/zig-sys-openbsd
811
9CC0-1.0:12CC0-1.0:
10= https://spdx.org/licenses/CC0-1.013= https://spdx.org/licenses/CC0-1.0
time.zig+3
...@@ -8,6 +8,9 @@ const time = @This();...@@ -8,6 +8,9 @@ const time = @This();
8const sys = switch (builtin.target.os.tag) {8const sys = switch (builtin.target.os.tag) {
9 .linux => @import("sys-linux"),9 .linux => @import("sys-linux"),
10 .macos => @import("sys-darwin"),10 .macos => @import("sys-darwin"),
11 .freebsd => @import("sys-freebsd"),
12 .netbsd => @import("sys-netbsd"),
13 .openbsd => @import("sys-openbsd"),
11 else => unreachable, // TODO:14 else => unreachable, // TODO:
12};15};
1316
zig.mod+3
...@@ -8,6 +8,9 @@ dependencies:...@@ -8,6 +8,9 @@ dependencies:
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-sys-darwin9 - src: git https://github.com/nektro/zig-sys-darwin
10 - src: git https://github.com/nektro/zig-nio10 - src: git https://github.com/nektro/zig-nio
11 - src: git https://github.com/nektro/zig-sys-freebsd
12 - src: git https://github.com/nektro/zig-sys-netbsd
13 - src: git https://github.com/nektro/zig-sys-openbsd
11root_dependencies:14root_dependencies:
12 - src: git https://github.com/nektro/zig-expect15 - src: git https://github.com/nektro/zig-expect
13 - src: git https://github.com/nektro/zig-nfs16 - src: git https://github.com/nektro/zig-nfs