I am asking for the opposite, i.e. keep everything as is and only add 2-300 lines of zig.
In particular, I explicitly don't want to rewrite 15000 lines of build system code, so anything that uses build.zig is a nonstarter.
In particular, I explicitly don't want to rewrite 15000 lines of build system code, so anything that uses build.zig is a nonstarter.
zig build-obj file.zig
And then include the object file along with your other sources. How you do this will of course depend on your build system.