aboutsummaryrefslogtreecommitdiff
path: root/src/comp/lib
diff options
context:
space:
mode:
authorRafael Ávila de Espíndola <[email protected]>2011-04-18 10:02:34 -0400
committerRafael Ávila de Espíndola <[email protected]>2011-04-18 10:02:52 -0400
commitf12998e5d7a4409d2bf748a671c345a79085213e (patch)
treee8ae174f5e6bf1c8c7c87b18d807684d1b126358 /src/comp/lib
parentMake log the log level configurable per module (diff)
downloadrust-f12998e5d7a4409d2bf748a671c345a79085213e.tar.xz
rust-f12998e5d7a4409d2bf748a671c345a79085213e.zip
Add a -c option.
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index 8d0910d5..3c40a583 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -815,8 +815,10 @@ native mod llvm = llvm_lib {
fn LLVMRustCreateMemoryBufferWithContentsOfFile(sbuf Path) ->
MemoryBufferRef;
- fn LLVMRustWriteAssembly(PassManagerRef PM, ModuleRef M,
- sbuf Triple, sbuf Output);
+ /* FIXME: The FileType is an enum.*/
+ fn LLVMRustWriteOutputFile(PassManagerRef PM, ModuleRef M,
+ sbuf Triple, sbuf Output,
+ int FileType);
/** Returns a string describing the last error caused by an LLVMRust*
call. */