Huge file size on resulting binary


Hi Rusteceans. I am can anyone explain to me why after compiling a small program like hello world or “sum of two numbers”, the source file is less than 1kb but the resulting binary after compilation with rustc is not less than 4MB on Linux Debian



There are several post on this topic

And there is this article about it also