6 ms·
This post seems to be missing an additional opportunity: Zig's build can involve go build! Use Build.addSystemCommand, have it depend on library step, and have
by Laremere 1y ago
This post seems to be missing an additional opportunity: Zig's build can involve go build! Use Build.addSystemCommand, have it depend on library step, and have the install step depend on that step. This reduces the steps to build to just 'zig build'
- jcalabro 1y agozigception!
- silisili 1y agoDo you by chance have a link to a working example of this? Sounds interesting...
- laserbeam 1y agoMy biggest problem with “zig build” is learning it. Mainly because it still changes from version to version, and having a clear picture of what steps are and how they interact is somehow hard for me. Obviously I will overcome this, but unlike zig itself, the build file still feels like guesswork to me.
- danhau 1y agoThat‘s my experience as well. The generated html docs can also be hard to read / understand. Zig 0.14.0 changed something about LazyPath (I think that‘s how it‘s called) and I had a hard time figuring out how to migrate.