mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44: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 LLVM_VERSION_GE(19, 0)
|
||||
DiagnosticHandlerCallback(&DI, DiagnosticHandlerContext);
|
||||
#else
|
||||
DiagnosticHandlerCallback(DI, DiagnosticHandlerContext);
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user