librustc: Add export_name attribute to specify symbol name.
auto merge of #8903 : luqmana/rust/en, r=thestinger

Fixes #8735.