Skip to content

Commit af1dd85

Browse files
committed
---
yaml --- r: 5766 b: refs/heads/master c: 0d43e90 h: refs/heads/master v: v3
1 parent c4b1b04 commit af1dd85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 813c2eb3698ad94c1c672bf81b1010486fc62a08
2+
refs/heads/master: 0d43e90172c364a5f92a0f4447a5030274f18832

trunk/src/rustllvm/RustWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ extern "C" bool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src) {
5353
// function" error.
5454
Module *DM = reinterpret_cast<Module *>(Dest);
5555
Module *SM = reinterpret_cast<Module *>(Src);
56-
if (Linker::LinkModules(DM, SM, Linker::DestroySource, &err)) {
56+
if (Linker::LinkModules(DM, SM, &err)) {
5757
LLVMRustError = err.c_str();
5858
return false;
5959
}

0 commit comments

Comments
 (0)