Skip to content

Commit

Permalink
Remove the 'extern "C"' in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Jan 20, 2018
1 parent a4854e8 commit a30232f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-make/hotplug_codegen_backend/the_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}

0 comments on commit a30232f

Please sign in to comment.