Skip to content

Commit 1accdb1

Browse files
author
Elly Jones
committed
---
yaml --- r: 5762 b: refs/heads/master c: 19eae0b h: refs/heads/master v: v3
1 parent a8003a5 commit 1accdb1

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: f480203fdd4d8b498453c1f7cc0ad4f59d87c596
2+
refs/heads/master: 19eae0bc3849e553aabf0f61cc2070236c2fffe7

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)