I wrote a hello world program in Rust, which is a low level language. But when building, the executable is 153 kilobytes, which seems way too large for a simple hello world program (especially when I am building with release optimizations enabled). What am I doing wrong, and can I make it smaller?
The compiler can optimize for either executable size or execution speed. Did you make sure to optimize for size?