From 476530136f9e5ae9ad048cfd482383819bd6d242 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 28 Aug 2023 19:30:25 +0100 Subject: update build.zig for module system --- build.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 24dfe54..8b32d17 100644 --- a/build.zig +++ b/build.zig @@ -24,6 +24,9 @@ pub fn build(b: *std.Build) void { .optimize = optimize, }); + // for zig module system + _ = b.addModule("zigwebserver", .{ .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 // step when running `zig build`). -- cgit v1.2.3-ZIG