Hey I have been analyzing the AIR of a Zig file and I wanted to see how it compared to the equivalent C program. However when I run build-exe on the C file, I don’t get any AIR printout. Is this intended behavior?
Since AIR is an intermediate representation of Zig code, it doesn’t make sense to get the AIR of C code directly. If I understand the compiler correctly, C code is passed to clang internally, so there is no intermediate representation that the compiler can print. It’s all in the clang level.
If you want to zig translate-c
the c file and then run the command on the generated Zig code, that would work.