Revert "Merge pull request #1025 from elly/master"
This reverts commit e12e76e9ba0785d556a6ea3ca71e4a467e2aeb4d, reversing changes made to f480203fdd4d8b498453c1f7cc0ad4f59d87c596.
This commit is contained in:
parent
813c2eb369
commit
0d43e90172
@ -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…
x
Reference in New Issue
Block a user