Comment by dns_snek

Comment by dns_snek a day ago

3 replies

It's not just "one missing section", and we're not just talking about some fringe language feature but the build system which is probably the most complex, important, and under documented part of the language.

The official answer to complaints about missing documentation has always been "ask in Discord". Pretending that this isn't the case is just disingenuous.

> But to answer your question, it exists in the comments of the auto-generated build.zig.zon file

The comments document the file format of build.zig.zon, they don't tell you anything about how to actually use a dependency in your build system.

kristoff_it a day ago

I've added more explanatory comments in the new template that ships with 0.15.1, also you might be interested in this video https://www.youtube.com/watch?v=jy7w_7JZYyw

  • dns_snek a day ago

    Thank you! I've learned how to use it well enough for own my needs by now but I think it would be really helpful to beginners if links to this video and any other useful resources you know about were added to the "Zig Build System" page on your website.