News for hackers. Stuff that matters.
Re:Why is a Rust executable large? (2016) by edflsafoiewq on Thursday May 16, 2019 @08:01AM (#19928125)
It doesn't make any difference for something as small as hello world (you can try it). A release build might not have debug info in the sense that -C debuginfo=0, but it still has plenty of stuff that can be stripped.

You also get the same size if you bypass the println machinery with io::stdout().write_all(b"Hello, world!").

There are no comments on this comment yet.