From ea78041e13a6479ea83ab71a00235f85ecb794eb Mon Sep 17 00:00:00 2001 From: "Nurul Huda (Apon)" Date: Fri, 23 Jan 2026 20:26:46 +0600 Subject: [PATCH] fix: link libc --- build.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.zig b/build.zig index 3148349..1150b0e 100644 --- a/build.zig +++ b/build.zig @@ -9,6 +9,7 @@ pub fn build(b: *std.Build) void { .target = target, }); mod.addObjectFile(b.path(getTemporalRsPath(target))); + mod.link_libc = true; const exe = b.addExecutable(.{ .name = "temporalz", @@ -21,6 +22,7 @@ pub fn build(b: *std.Build) void { }, }), }); + exe.linkLibC(); b.installArtifact(exe); // Run command