Remove the 'extern "C"' in the right place
This commit is contained in:
parent
a4854e84f2
commit
a30232f9fd
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue