I had a look, zig seems to require a runtime, even small, for basic syntax support. So it seems it is not suitable.
You should be able to generate machine code without the need of any runtime, like you can with C.
You should be able to generate machine code without the need of any runtime, like you can with C.
The only thing I can think of that you might be referring to is compiler-rt: if so, this is a thing in C too! It's just a small collection of implementations for operations the code generator wants to call into (e.g. memset, arithmetic for integers larger than CPU word size). Clang uses compiler-rt when compiling C code, and GCC's equivalent is libgcc. Nonetheless, Zig lets you disable it using `-fno-compiler-rt`, in which case you'll need to provide the relevant symbols yourself somehow.
(For context, by the way, I'm on the Zig "core team"; I'm a notable contributor to the project.)