Remove the 'extern "C"' in the right place

This commit is contained in:
bjorn3 2018-01-20 17:27:00 +01:00
parent a4854e84f2
commit a30232f9fd

View File

@ -77,6 +77,6 @@ impl TransCrate for TheBackend {
/// This is the entrypoint for a hot plugged rustc_trans
#[no_mangle]
pub extern "C" fn __rustc_codegen_backend(sess: &Session) -> Box<TransCrate> {
pub fn __rustc_codegen_backend(sess: &Session) -> Box<TransCrate> {
Box::new(TheBackend(MetadataOnlyTransCrate::new(sess)))
}