mv root -> stt
This commit is contained in:
parent
ce872d85b1
commit
cafeeaf478
4 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ pub fn build(b: *std.Build) void {
|
||||||
.name = "stt",
|
.name = "stt",
|
||||||
.linkage = .static,
|
.linkage = .static,
|
||||||
.root_module = b.createModule(.{
|
.root_module = b.createModule(.{
|
||||||
.root_source_file = b.path("src/root.zig"),
|
.root_source_file = b.path("src/stt.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
|
@ -79,7 +79,7 @@ pub fn build(b: *std.Build) void {
|
||||||
// Creates a step for unit testing the library
|
// Creates a step for unit testing the library
|
||||||
const lib_unit_tests = b.addTest(.{
|
const lib_unit_tests = b.addTest(.{
|
||||||
.root_module = b.createModule(.{
|
.root_module = b.createModule(.{
|
||||||
.root_source_file = b.path("src/root.zig"),
|
.root_source_file = b.path("src/stt.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const builtin = @import("builtin");
|
const builtin = @import("builtin");
|
||||||
const stt = @import("root.zig");
|
const stt = @import("stt.zig");
|
||||||
|
|
||||||
/// Global flag for signal handling
|
/// Global flag for signal handling
|
||||||
var should_exit = std.atomic.Value(bool).init(false);
|
var should_exit = std.atomic.Value(bool).init(false);
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
const testing = std.testing;
|
const testing = std.testing;
|
||||||
const stt = @import("root.zig");
|
const stt = @import("stt.zig");
|
||||||
|
|
||||||
// Test allocator for memory leak detection
|
// Test allocator for memory leak detection
|
||||||
var test_allocator = std.testing.allocator;
|
var test_allocator = std.testing.allocator;
|
||||||
|
|
Loading…
Add table
Reference in a new issue