We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a515258 commit 0128f8eCopy full SHA for 0128f8e
src/librustc_codegen_llvm/back/write.rs
@@ -239,10 +239,7 @@ impl<'a> Drop for DiagnosticHandlers<'a> {
239
}
240
241
242
-#[allow(improper_ctypes)]
243
-unsafe extern "C" fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>,
244
- msg: &str,
245
- cookie: c_uint) {
+fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>, msg: &str, cookie: c_uint) {
246
cgcx.diag_emitter.inline_asm_error(cookie as u32, msg.to_owned());
247
248
0 commit comments