2010-06-24 06:03:09 +02:00
|
|
|
|
|
|
|
// -*- rust -*-
|
|
|
|
|
|
|
|
use std;
|
|
|
|
|
2010-09-24 00:46:31 +02:00
|
|
|
mod front {
|
2010-08-12 19:27:50 +02:00
|
|
|
mod ast;
|
2010-06-24 06:03:09 +02:00
|
|
|
mod lexer;
|
|
|
|
mod parser;
|
2010-08-18 20:35:12 +02:00
|
|
|
mod token;
|
2010-06-24 06:03:09 +02:00
|
|
|
}
|
|
|
|
|
2010-09-24 00:46:31 +02:00
|
|
|
mod middle {
|
2010-10-07 03:36:28 +02:00
|
|
|
mod fold;
|
|
|
|
mod resolve;
|
2010-09-23 00:21:06 +02:00
|
|
|
mod trans;
|
|
|
|
}
|
|
|
|
|
2010-09-24 00:46:31 +02:00
|
|
|
mod back {
|
|
|
|
mod abi;
|
|
|
|
mod x86;
|
|
|
|
}
|
|
|
|
|
2010-06-24 06:03:09 +02:00
|
|
|
mod driver {
|
|
|
|
mod rustc;
|
2010-09-01 22:24:14 +02:00
|
|
|
mod session;
|
2010-06-24 06:03:09 +02:00
|
|
|
}
|
|
|
|
|
2010-08-18 20:34:47 +02:00
|
|
|
mod util {
|
|
|
|
mod common;
|
|
|
|
}
|
|
|
|
|
2010-11-02 19:11:58 +01:00
|
|
|
auth driver.rustc.main = impure;
|
2010-09-24 00:46:31 +02:00
|
|
|
auth middle.trans = unsafe;
|
2010-09-24 23:56:04 +02:00
|
|
|
auth lib.llvm = unsafe;
|
2010-09-23 00:21:06 +02:00
|
|
|
|
2010-08-18 09:19:25 +02:00
|
|
|
|
2010-07-13 02:47:40 +02:00
|
|
|
mod lib {
|
2010-08-18 20:34:22 +02:00
|
|
|
alt (target_os) {
|
|
|
|
case ("win32") {
|
|
|
|
let (llvm_lib = "LLVM-2.8svn.dll") {
|
|
|
|
mod llvm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case ("macos") {
|
|
|
|
let (llvm_lib = "libLLVM-2.8svn.dylib") {
|
|
|
|
mod llvm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
let (llvm_lib = "libLLVM-2.8svn.so") {
|
|
|
|
mod llvm;
|
|
|
|
}
|
|
|
|
}
|
2010-08-16 22:02:46 +02:00
|
|
|
}
|
2010-07-13 02:47:40 +02:00
|
|
|
}
|
|
|
|
|
2010-06-24 06:03:09 +02:00
|
|
|
// Local Variables:
|
|
|
|
// fill-column: 78;
|
|
|
|
// indent-tabs-mode: nil
|
2010-08-18 20:34:22 +02:00
|
|
|
// c-basic-offset: 4
|
2010-06-24 06:03:09 +02:00
|
|
|
// buffer-file-coding-system: utf-8-unix
|
|
|
|
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
|
|
|
// End:
|