From 0412571fb7ed41d3709884abb44aec93975c9026 Mon Sep 17 00:00:00 2001 From: prabhukr Date: Wed, 24 Sep 2025 10:25:08 -0700 Subject: [PATCH] Update createRemarkSerializer call to match updates in LLVM. --- compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index 414274f24fb50..74e6226e8bde6 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -1780,8 +1780,7 @@ extern "C" void LLVMRustContextConfigureDiagnosticHandler( RemarkFile->keep(); auto RemarkSerializer = remarks::createRemarkSerializer( - llvm::remarks::Format::YAML, remarks::SerializerMode::Separate, - RemarkFile->os()); + llvm::remarks::Format::YAML, RemarkFile->os()); if (Error E = RemarkSerializer.takeError()) { std::string Error = std::string("Cannot create remark serializer: ") + toString(std::move(E));