~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/zlay

atproto relay in zig · mirror of https://tangled.org/zat.dev/zlay

0
0
22 lines · 887 B Raw History
diff --git a/build.zig b/build.zig
index c94682e..225f6da 100644
--- a/build.zig
+++ b/build.zig
@@ -123,6 +123,17 @@ pub fn build(b: *std.Build) void {
     );
 
     const strip_load = b.option(bool, "strip-load", "strip debug information from the load harness") orelse false;
+    const read_cost = b.addExecutable(.{
+        .name = "index-read-cost",
+        .root_module = b.createModule(.{
+            .root_source_file = b.path("src/index_read_cost.zig"),
+            .target = target,
+            .optimize = optimize,
+            .imports = imports,
+            .link_libc = true,
+        }),
+    });
+    b.step("index-read-cost", "install the reader refresh and dispatch microcosm").dependOn(&b.addInstallArtifact(read_cost, .{}).step);
     const load_mod = b.createModule(.{
         .strip = strip_load,
         .root_source_file = b.path("src/index_load.zig"),