Skip to content

Commit 0412571

Browse files
committed
Update createRemarkSerializer call to match updates in LLVM.
1 parent 15283f6 commit 0412571

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,8 +1780,7 @@ extern "C" void LLVMRustContextConfigureDiagnosticHandler(
17801780
RemarkFile->keep();
17811781

17821782
auto RemarkSerializer = remarks::createRemarkSerializer(
1783-
llvm::remarks::Format::YAML, remarks::SerializerMode::Separate,
1784-
RemarkFile->os());
1783+
llvm::remarks::Format::YAML, RemarkFile->os());
17851784
if (Error E = RemarkSerializer.takeError()) {
17861785
std::string Error = std::string("Cannot create remark serializer: ") +
17871786
toString(std::move(E));

0 commit comments

Comments
 (0)