Handle removal of llvm::make_unique()
This commit is contained in:
parent
3ec3aa72d4
commit
30ec68a545
4 changed files with 17 additions and 2 deletions
|
@ -18,8 +18,7 @@ extern "C" RustLinker*
|
|||
LLVMRustLinkerNew(LLVMModuleRef DstRef) {
|
||||
Module *Dst = unwrap(DstRef);
|
||||
|
||||
auto Ret = llvm::make_unique<RustLinker>(*Dst);
|
||||
return Ret.release();
|
||||
return new RustLinker(*Dst);
|
||||
}
|
||||
|
||||
extern "C" void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue