summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 087d7ae..ae532eb 100644
--- a/build.zig
+++ b/build.zig
@@ -33,7 +33,7 @@ pub fn build(b: *std.Build) void {
b.installArtifact(lib);
// for zig module system
- _ = b.addModule("zigwebserver", .{ .source_file = .{ .path = "src/zigwebserver.zig" } });
+ _ = b.addModule("zigwebserver", .{ .root_source_file = .{ .path = "src/zigwebserver.zig" } });
// This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default