From 63605fd7e4186e62193687f7d25d1fe0d32f68f9 Mon Sep 17 00:00:00 2001 From: ro <54208873+rohitp934@users.noreply.github.com> Date: Sat, 31 Aug 2024 09:44:15 -0400 Subject: [PATCH] link_libc in test? --- build.zig | 1 + readme.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 33acdc7..841c600 100644 --- a/build.zig +++ b/build.zig @@ -100,6 +100,7 @@ fn runZig( .root_source_file = b.path("src/main.zig"), .target = b.resolveTargetQuery(target), .optimize = optimize, + .link_libc = true, }); unit_tests.addCSourceFile(.{ .file = b.path("stb/stb.c") }); unit_tests.addIncludePath(dep_stb.path("")); diff --git a/readme.md b/readme.md index ce7fb51..ca20f76 100644 --- a/readme.md +++ b/readme.md @@ -57,7 +57,7 @@ run the program with the following options (the default zig install directory is with brightness boost and url input: ```bash # bonus (this is a sweet wallpaper) - asciigen -i "https://w.wallhaven.cc/full/p9/wallhaven-p9gr2p.jpg" -o output.png -c -e -b 1.5 + asciigen -i "https://w.wallhaven.cc/full/p9/wallhaven-p9gr2p.jpg" -o output.png -e -c-b 1.5 ``` 3. the program will generate an ascii art version of your input image and save it as a new image file.