How a Zig IDE Could Work
This is very different to most static languages.<p>From the article:<p>The whole process is lazy — only things transitively used from main are analyzed. Compiler won’t complain about something like<p><pre><code>    fn unused() void {
        1 + "";
    }
</code></pre>
This looks perfectly fine at the Zir level, and the compiler will not move beyond Zir unless the function is actually called somewhere.