News for hackers. Stuff that matters.
Re:C Macro Reflection in Zig – Zig Has Better C Interop Than... by TwentyPosts on Tuesday July 30, 2024 @02:57PM (#41112880)
Andrew (in the linked Github page) answered a question as follows:

> Question: "So after this change, is there way I can still simply call zig run or do I have to use a build.zig file?"

Andrew's answer: "No, this use case will regress."

This in fact literally states that "just" calling "zig run" won't be possible anymore, and heavily implies you'll need a build.zig file.

Re:C Macro Reflection in Zig – Zig Has Better C Interop Than... by throwawaymaths on Thursday August 01, 2024 @07:23PM (#41134705)
After some more recent comments,

> This in fact literally states that "just" calling "zig run" won't be possible anymore,

This seems correct.

> and heavily implies you'll need a build.zig file.

This seems to not be the case.