~gpanders/wk

c0b916b5c950140a111b46f21c83a26426281d6d — Dani Pozo a month ago 5d01909
Link to libc

Apparently, Zig fails to detect the dependency on libc
if not told explicitly.
1 files changed, 1 insertions(+), 0 deletions(-)

M build.zig
M build.zig => build.zig +1 -0
@@ 16,6 16,7 @@ pub fn build(b: *Builder) void {
    const exe = b.addExecutable("zet", "src/main.zig");
    exe.setTarget(target);
    exe.setBuildMode(mode);
    exe.linkSystemLibrary("c");
    exe.strip = mode == Mode.ReleaseSmall;
    exe.install();