RustWrapper: update call for llvm/llvm-project@44d037cc25

Easy change.

@rustbot label: +llvm-main
This commit is contained in:
Augie Fackler 2024-03-26 14:10:25 -04:00
parent 536606bc5d
commit 2a0107496e

View File

@ -1992,7 +1992,11 @@ extern "C" void LLVMRustContextConfigureDiagnosticHandler(
}
}
if (DiagnosticHandlerCallback) {
#if LLVM_VERSION_GE(19, 0)
DiagnosticHandlerCallback(&DI, DiagnosticHandlerContext);
#else
DiagnosticHandlerCallback(DI, DiagnosticHandlerContext);
#endif
return true;
}
return false;