Remove the 'extern "C"' in the right place
This commit is contained in:
parent
a4854e84f2
commit
a30232f9fd
@ -77,6 +77,6 @@ fn join_trans_and_link(
|
||||
|
||||
/// 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)))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user