Skip to content

Commit 8050b82

Browse files
Elly Jonesbrson
authored andcommitted
---
yaml --- r: 5821 b: refs/heads/master c: a5dc6a7 h: refs/heads/master i: 5819: 2ea8131 v: v3
1 parent 75d4e6d commit 8050b82

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: d77996a30f0dd922a2ab26f852a460bed589397b
2+
refs/heads/master: a5dc6a7aa884179cc88771da71b444030cc402b8

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, &err)) {
56+
if (Linker::LinkModules(DM, SM, Linker::DestroySource, &err)) {
5757
LLVMRustError = err.c_str();
5858
return false;
5959
}

0 commit comments

Comments
 (0)