Zig build required option for a particular step

There’s actually an example of exactly what you’re looking for in Zig’s build.zig:

(and another here)

5 Likes