refactor: rename root.zig to detection.zig
This commit is contained in:
1 parent
3e2e340b5a
commit
036d855e88
2 files changed
+9
-1
No files matched your search
@@ -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
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user