Skip to content

Commit

Permalink
Unrolled build for rust-lang#123102
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#123102 - durin42:llvm-19-pass-ptr, r=workingjubilee

RustWrapper: update call for llvm/llvm-project@44d037cc258dcf179d2c48…

…c93996bb406ecd0fae

Easy change.

`@rustbot` label: +llvm-main
  • Loading branch information
rust-timer authored Mar 27, 2024
2 parents 435b525 + 2a01074 commit 4c1e474
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4c1e474

Please sign in to comment.