Support link_args at the crate level. Closes #1301
rustc: Don't copy in add_used_link_args
auto merge of #4979 : z0w0/rust/issue-1301, r=catamorphism