summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-07-16 19:13:02 +0200
committerYorhel <git@yorhel.nl>2021-07-16 19:13:04 +0200
commite9c8d12c0f14b6763e34a8d2bff16091499e8360 (patch)
tree8aa22353f7041ae867dca4f5ac7543af24355b71 /build.zig
parent5a196125dca729deb150a4444961101a2f5a7ff8 (diff)
Store Ext before Entry
Which is slightly simpler and should provide a minor performance improvement.
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 5519afc..90058aa 100644
--- a/build.zig
+++ b/build.zig
@@ -24,6 +24,7 @@ pub fn build(b: *std.build.Builder) void {
const tst = b.addTest("src/main.zig");
tst.linkLibC();
tst.linkSystemLibrary("ncursesw");
+ tst.addCSourceFile("src/ncurses_refs.c", &[_][]const u8{});
const tst_step = b.step("test", "Run tests");
tst_step.dependOn(&tst.step);
}