HelloWorld binary size increased a lot in recent Zig versions #20711
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
optimization
regression
It worked in a previous version of Zig, but stopped working.
Milestone
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
Say we want to build a very simple HelloWorld program in x86_64 Linux:
Let's try to build them in different versions of Zig with different modes (all of them have enabled
exe.strip = true;
inbuild.zig
), and here are the binary sizes of them:Expected Behavior
Binary size should not increase much compared to v0.9.1, at least in ReleaseSmall mode.
The text was updated successfully, but these errors were encountered: