mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
RustWrapper: update call for llvm/llvm-project@44d037cc25
Easy change. @rustbot label: +llvm-main
This commit is contained in:
parent
536606bc5d
commit
2a0107496e
@ -1992,7 +1992,11 @@ extern "C" void LLVMRustContextConfigureDiagnosticHandler(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (DiagnosticHandlerCallback) {
|
if (DiagnosticHandlerCallback) {
|
||||||
|
#if LLVM_VERSION_GE(19, 0)
|
||||||
|
DiagnosticHandlerCallback(&DI, DiagnosticHandlerContext);
|
||||||
|
#else
|
||||||
DiagnosticHandlerCallback(DI, DiagnosticHandlerContext);
|
DiagnosticHandlerCallback(DI, DiagnosticHandlerContext);
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user