We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4854e8 commit a30232fCopy full SHA for a30232f
src/test/run-make/hotplug_codegen_backend/the_backend.rs
@@ -77,6 +77,6 @@ impl TransCrate for TheBackend {
77
78
/// This is the entrypoint for a hot plugged rustc_trans
79
#[no_mangle]
80
-pub extern "C" fn __rustc_codegen_backend(sess: &Session) -> Box<TransCrate> {
+pub fn __rustc_codegen_backend(sess: &Session) -> Box<TransCrate> {
81
Box::new(TheBackend(MetadataOnlyTransCrate::new(sess)))
82
}
0 commit comments