summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-02-01 14:12:03 +0000
committerMartin Ashby <martin@ashbysoft.com>2024-02-01 14:12:03 +0000
commitc0b0b259a572bcc65dd2e6d55a126ead9c2ae6ff (patch)
treefa12113b6466c5dff14596a7b7bbdb34590ad6ff /build.zig
parenta782c7083056558ccfe41ca42857a4680d55a9d9 (diff)
downloadzigwebserver-c0b0b259a572bcc65dd2e6d55a126ead9c2ae6ff.tar.gz
zigwebserver-c0b0b259a572bcc65dd2e6d55a126ead9c2ae6ff.tar.bz2
zigwebserver-c0b0b259a572bcc65dd2e6d55a126ead9c2ae6ff.tar.xz
zigwebserver-c0b0b259a572bcc65dd2e6d55a126ead9c2ae6ff.zip
Update for zig master
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