diff --git a/build.zig b/build.zig index 1c89e40..70814b8 100644 --- a/build.zig +++ b/build.zig @@ -28,7 +28,7 @@ pub fn build(b: *std.Build) void { .name = "stt", .linkage = .static, .root_module = b.createModule(.{ - .root_source_file = b.path("src/root.zig"), + .root_source_file = b.path("src/stt.zig"), .target = target, .optimize = optimize, .link_libc = true, @@ -79,7 +79,7 @@ pub fn build(b: *std.Build) void { // Creates a step for unit testing the library const lib_unit_tests = b.addTest(.{ .root_module = b.createModule(.{ - .root_source_file = b.path("src/root.zig"), + .root_source_file = b.path("src/stt.zig"), .target = target, .optimize = optimize, .link_libc = true, diff --git a/src/main.zig b/src/main.zig index d8fd575..c1ac56d 100644 --- a/src/main.zig +++ b/src/main.zig @@ -5,7 +5,7 @@ const std = @import("std"); const builtin = @import("builtin"); -const stt = @import("root.zig"); +const stt = @import("stt.zig"); /// Global flag for signal handling var should_exit = std.atomic.Value(bool).init(false); diff --git a/src/root.zig b/src/stt.zig similarity index 100% rename from src/root.zig rename to src/stt.zig diff --git a/src/test.zig b/src/test.zig index 7ddbee9..9fcb4d6 100644 --- a/src/test.zig +++ b/src/test.zig @@ -8,7 +8,7 @@ const std = @import("std"); const testing = std.testing; -const stt = @import("root.zig"); +const stt = @import("stt.zig"); // Test allocator for memory leak detection var test_allocator = std.testing.allocator;