aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-19 14:02:37 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-19 14:02:37 +0200
commitd1480f97e3c8ce82151d409e7c9d1545d44f3a99 (patch)
tree08337cb10e5c3fb6ddd820b0f117f33a20fb4328 /build.zig
parent8c5214df39ab82c3d42ccd492d8699f8a5aadb0a (diff)
feat(lib): export functions
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index d7721ed..5e82cec 100644
--- a/build.zig
+++ b/build.zig
@@ -7,6 +7,7 @@ pub fn build(b: *std.Build) void {
const mod = b.addModule("typdown", .{
.root_source_file = b.path("src/root.zig"),
.target = target,
+ .link_libc = true,
});
//const exe = b.addExecutable(.{
@@ -30,7 +31,7 @@ pub fn build(b: *std.Build) void {
//if (b.args) |args| {
// run_cmd.addArgs(args);
//}
-
+
const mod_tests = b.addTest(.{
.root_module = mod,
});