News for hackers. Stuff that matters.
Re:Why is a Rust executable large? (2016) by edflsafoiewq on Thursday May 16, 2019 @09:04AM (#19928593)
The larger size on Linux is because the binary itself contains the debug symbols. On Mac, they're in a separate .dSYM file from what I understand. See https://github.com/rust-lang/rust/issues/46034.

According to that thread, the size jump of the unstripped binary is probably from libstd being compiled with -C debuginfo=1 now.

Re:Why is a Rust executable large? (2016) by deg4uss3r on Thursday May 16, 2019 @09:37AM (#19928891)
Ah thanks, that makes sense!