mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Rollup merge of #123102 - durin42:llvm-19-pass-ptr, r=workingjubilee
RustWrapper: update call for llvm/llvm-project@44d037cc258dcf179d2c48… …c93996bb406ecd0fae Easy change. `@rustbot` label: +llvm-main
This commit is contained in:
commit
fc51dbd379
@ -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