3 ms·
Totally, just use `zig cc` as an in-place replacement for clang and move forward from there as you feel comfrotable. I wrote a blog post about this approach: ht
by kristoff_it 4y ago
Totally, just use `zig cc` as an in-place replacement for clang and move forward from there as you feel comfrotable. I wrote a blog post about this approach: https://kristoff.it/blog/maintain-it-with-zig/ https://kristoff.it/blog/maintain-it-with-zig/
- bonzini 4y agoI 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.
- gpanders 4y agoYou can invoke Zig without build.zig: 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.