I was confused with build system's lazyPath (and in general). Much less now

Hello,

I just wanted to share something that helped me clear my mental fog about the build system.

https://codeberg.org/Yinameah/zig-build-system-for-dummies

It’s a very simple repo. One small executable that pretty print paths, and one little helper struct in the build script that pass the resolved lazyPath as argument to the aforementioned script.

I originally envision to develop some kind of “package” to print stuff relevant to many build steps, but turns out clarifying the basics was all the help I needed (for now ?)

Although I suspect writing this is much more valuable to understand than reading it, I share it here in the hope it might help other to reach a similar enlightenment :wink:

2 Likes