1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"),