refactor: rename root.zig to detection.zig

This commit is contained in:
utox39 committed 2025-03-18 10:41:13 +01:00
1 parent 3e2e340b5a
commit 036d855e88
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
const std = @import("std");
pub const os_module = switch (@import("builtin").os.tag) {
.linux => @import("linux/linux.zig"),
.macos => @import("macos/macos.zig"),
.windows => @import("windows/windows.zig"),
else => @compileError("Unsupported operating system"),
};
+1 -1
View File
@@ -1,5 +1,5 @@
const std = @import("std");
const os_module = @import("root.zig").os_module;
const os_module = @import("detection.zig").os_module;
pub fn main() !void {
const stdout_file = std.io.getStdOut().writer();