1
Fork 0

improper_ctypes: extern "C" fns

This commit is contained in:
David Wood 2019-10-05 15:52:46 +01:00
parent 2e4da3caad
commit a515258b35
No known key found for this signature in database
GPG key ID: 2592E76C87381FD9
16 changed files with 493 additions and 22 deletions

View file

@ -239,6 +239,7 @@ impl<'a> Drop for DiagnosticHandlers<'a> {
}
}
#[allow(improper_ctypes)]
unsafe extern "C" fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>,
msg: &str,
cookie: c_uint) {