| author | |
| committer | |
| log | 63a86de8518026be9ae14ca35f2e5af234f48024 |
| tree | 83af60399d6aa914009325bb0051e1db4d7e532f |
| parent | 31a56409131ab0ccfc516d8cbefbc4cd86f071ca |
| signature | Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw |
3 files changed, 9 insertions(+), 0 deletions(-)
licenses.txt+3| ... | ... | @@ -2,4 +2,7 @@ MIT: |
| 2 | 2 | = https://spdx.org/licenses/MIT |
| 3 | 3 | - This |
| 4 | 4 | - git https://github.com/nektro/zig-extras |
| 5 | - git https://github.com/nektro/zig-sys-freebsd | |
| 5 | 6 | - git https://github.com/nektro/zig-sys-linux |
| 7 | - git https://github.com/nektro/zig-sys-netbsd | |
| 8 | - git https://github.com/nektro/zig-sys-openbsd |
src/lib.zig+3| ... | ... | @@ -7,6 +7,9 @@ const linux = @import("sys-linux"); |
| 7 | 7 | |
| 8 | 8 | const sys = switch (builtin.target.os.tag) { |
| 9 | 9 | .linux => linux, |
| 10 | .freebsd => @import("sys-freebsd"), | |
| 11 | .netbsd => @import("sys-netbsd"), | |
| 12 | .openbsd => @import("sys-openbsd"), | |
| 10 | 13 | else => unreachable, // TODO: |
| 11 | 14 | }; |
| 12 | 15 |
zig.mod+3| ... | ... | @@ -6,3 +6,6 @@ description: Config management for Zig. |
| 6 | 6 | dependencies: |
| 7 | 7 | - src: git https://github.com/nektro/zig-extras |
| 8 | 8 | - src: git https://github.com/nektro/zig-sys-linux |
| 9 | - src: git https://github.com/nektro/zig-sys-freebsd | |
| 10 | - src: git https://github.com/nektro/zig-sys-netbsd | |
| 11 | - src: git https://github.com/nektro/zig-sys-openbsd |