Skip to content

Commit

Permalink
Revert "Merge pull request rust-lang#1025 from elly/master"
Browse files Browse the repository at this point in the history
This reverts commit e12e76e, reversing
changes made to f480203.
  • Loading branch information
lkuper committed Oct 12, 2011
1 parent 813c2eb commit 0d43e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustllvm/RustWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0d43e90

Please sign in to comment.