mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Remove the 'extern "C"' in the right place
This commit is contained in:
parent
a4854e84f2
commit
a30232f9fd
@ -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…
Reference in New Issue
Block a user