`rustc main.rs` generates main binary file
auto merge of #17244 : spastorino/rust/patch-1, r=alexcrichton