commit 09207408944007a2a81689e5867f31d10cdd3a1f
parent d3b38006cdb9ff7869f844c6b98f7c6073573df6
Author: Oliver Lowe <o@olowe.co>
Date: Sun, 7 Sep 2025 19:04:27 +1000
Keep zig module files in normal dir
Diffstat:
4 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/build.zig b/src/build.zig
@@ -32,7 +32,7 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});
const fence_mod = b.createModule(.{
- .root_source_file = b.path("fence/src/root.zig"),
+ .root_source_file = b.path("fence/root.zig"),
.target = target,
});
const fence = b.addLibrary(.{
@@ -41,7 +41,7 @@ pub fn build(b: *std.Build) void {
});
// https://github.com/ziglang/zig/issues/6817
fence.bundle_compiler_rt = true;
- const header_file = b.addInstallHeaderFile(b.path("fence/src/fence.h"), "fence.h");
+ const header_file = b.addInstallHeaderFile(b.path("fence/fence.h"), "fence.h");
b.getInstallStep().dependOn(&header_file.step);
const extlibs = [_][]const u8{
diff --git a/src/fence/src/fence.h b/src/fence/fence.h
diff --git a/src/fence/src/root.zig b/src/fence/root.zig
diff --git a/src/fence/src/tlds.zig b/src/fence/tlds.zig