How to access info in build.zig.zon from build.zig?

Continuing the discussion from New Zig Build System Documentation:

2 Likes

You will be able to do @import("build.zig.zon") directly from the build.zig file, but that depends on some work-in-progress enhancements to the compiler.

14 Likes