Skip to content

Commit a30232f

Browse files
committed
Remove the 'extern "C"' in the right place
1 parent a4854e8 commit a30232f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-make/hotplug_codegen_backend/the_backend.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ impl TransCrate for TheBackend {
7777

7878
/// This is the entrypoint for a hot plugged rustc_trans
7979
#[no_mangle]
80-
pub extern "C" fn __rustc_codegen_backend(sess: &Session) -> Box<TransCrate> {
80+
pub fn __rustc_codegen_backend(sess: &Session) -> Box<TransCrate> {
8181
Box::new(TheBackend(MetadataOnlyTransCrate::new(sess)))
8282
}

0 commit comments

Comments
 (0)