"Hello world!" binary links a bunch of unnecessary libraries · Issue #29482 · rust-lang/rust (original) (raw)
Looking at a simple println!("hello world") binary, I get these:
libdl (why?)
libpthread (I'm not using threads)
librt (why?)
libgcc_s (apparently for unwinding, despite my not using any dynamically linked crates)