Zig 0.12.0 released

I guess you could call it zero config. Using zigs current build system you need to manually configure your build.zig after fetching a package. What “zig add package_name” would do is configure your build.zig automatically, and you should be able to use the package you installed with a basic @import(“package”) without manually fiddling through the build.zig.

2 Likes

I mean technically I guess nothing prevents you from doing that yourself, I’ve been working on and off, on a similar concept, I wanted to simplify some of the stuff, in the build.zig, so I have a little library I’m working on with a lot of small but cool functions, to make building stuff easier. For example I have an iterator, that can collect c sources files and add them to the compilation step. I have a few utilities regarding directories and stuff. Of course it’s nowhere near the scale you are talking to. But honestly you can probably do it on your own if you really think it’s needed.

5 Likes