Revert "Merge pull request #1025 from elly/master"
This reverts commite12e76e9ba
, reversing changes made tof480203fdd
.
This commit is contained in:
parent
813c2eb369
commit
0d43e90172
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ extern "C" bool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src) {
|
|||
// function" error.
|
||||
Module *DM = reinterpret_cast<Module *>(Dest);
|
||||
Module *SM = reinterpret_cast<Module *>(Src);
|
||||
if (Linker::LinkModules(DM, SM, Linker::DestroySource, &err)) {
|
||||
if (Linker::LinkModules(DM, SM, &err)) {
|
||||
LLVMRustError = err.c_str();
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue