rustllvm: Add bindings to the LLVM linker

This commit is contained in:
Patrick Walton
2011-05-04 21:27:00 -07:00
parent c47a075a99
commit 729648282b
3 changed files with 22 additions and 3 deletions

View File

@@ -848,7 +848,9 @@ native mod llvm = llvm_lib {
call. */
fn LLVMRustGetLastError() -> sbuf;
/** Links LLVM modules together. `Src` is destroyed by this call and
must never be referenced again. */
fn LLVMLinkModules(ModuleRef Dest, ModuleRef Src) -> Bool;
}
native mod rustllvm = llvm_lib {