2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
// -*- rust -*-
|
|
|
|
|
|
|
|
use std;
|
|
|
|
|
2010-09-23 17:46:31 -05:00
|
|
|
mod front {
|
2010-08-12 12:27:50 -05:00
|
|
|
mod ast;
|
2011-03-15 18:30:43 -05:00
|
|
|
mod creader;
|
2011-02-23 22:48:01 -06:00
|
|
|
mod extfmt;
|
2010-06-23 23:03:09 -05:00
|
|
|
mod lexer;
|
|
|
|
mod parser;
|
2010-08-18 13:35:12 -05:00
|
|
|
mod token;
|
2011-02-24 17:54:55 -06:00
|
|
|
mod eval;
|
2010-06-23 23:03:09 -05:00
|
|
|
}
|
|
|
|
|
2010-09-23 17:46:31 -05:00
|
|
|
mod middle {
|
2010-10-06 20:36:28 -05:00
|
|
|
mod fold;
|
2011-03-11 17:35:20 -06:00
|
|
|
mod metadata;
|
2010-10-06 20:36:28 -05:00
|
|
|
mod resolve;
|
2010-09-22 17:21:06 -05:00
|
|
|
mod trans;
|
2010-12-21 14:13:51 -06:00
|
|
|
mod ty;
|
2010-11-03 18:43:12 -05:00
|
|
|
mod typeck;
|
2010-09-22 17:21:06 -05:00
|
|
|
}
|
|
|
|
|
2010-09-23 17:46:31 -05:00
|
|
|
mod back {
|
|
|
|
mod abi;
|
|
|
|
mod x86;
|
|
|
|
}
|
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
mod driver {
|
|
|
|
mod rustc;
|
2010-09-01 15:24:14 -05:00
|
|
|
mod session;
|
2010-06-23 23:03:09 -05:00
|
|
|
}
|
|
|
|
|
2011-03-04 00:22:43 -06:00
|
|
|
mod pretty {
|
|
|
|
mod pp;
|
|
|
|
mod pprust;
|
|
|
|
}
|
|
|
|
|
2010-08-18 13:34:47 -05:00
|
|
|
mod util {
|
|
|
|
mod common;
|
|
|
|
}
|
|
|
|
|
2010-11-02 13:11:58 -05:00
|
|
|
auth driver.rustc.main = impure;
|
2011-03-24 19:21:09 -05:00
|
|
|
auth front.creader.load_crate = unsafe;
|
2011-03-25 19:53:46 -05:00
|
|
|
auth front.creader.lookup_def = impure;
|
2011-03-28 18:49:26 -05:00
|
|
|
auth front.creader.get_type = impure;
|
2011-03-29 15:21:16 -05:00
|
|
|
auth front.creader.get_symbol = impure;
|
2011-03-28 18:49:26 -05:00
|
|
|
auth front.creader.impure_no_op = impure;
|
2011-03-11 17:35:20 -06:00
|
|
|
auth middle.metadata = unsafe;
|
2010-09-23 17:46:31 -05:00
|
|
|
auth middle.trans = unsafe;
|
2011-03-28 20:04:52 -05:00
|
|
|
auth middle.trans.copy_any_self_to_alloca = impure;
|
2011-01-21 09:58:16 -06:00
|
|
|
auth middle.trans.copy_args_to_allocas = impure;
|
|
|
|
auth middle.trans.trans_block = impure;
|
2011-03-28 20:04:52 -05:00
|
|
|
auth middle.trans.alloc_ty = impure;
|
2010-09-24 16:56:04 -05:00
|
|
|
auth lib.llvm = unsafe;
|
2011-03-09 04:41:50 -06:00
|
|
|
auth pretty.pprust = impure;
|
2010-09-22 17:21:06 -05:00
|
|
|
|
2010-07-12 19:47:40 -05:00
|
|
|
mod lib {
|
2010-08-18 13:34:22 -05:00
|
|
|
alt (target_os) {
|
|
|
|
case ("win32") {
|
2011-03-23 19:48:53 -05:00
|
|
|
let (llvm_lib = "rustllvm.dll") {
|
|
|
|
mod llvm;
|
2010-08-18 13:34:22 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
case ("macos") {
|
2011-03-23 19:48:53 -05:00
|
|
|
let (llvm_lib = "librustllvm.dylib") {
|
|
|
|
mod llvm;
|
2010-08-18 13:34:22 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
2011-03-23 19:48:53 -05:00
|
|
|
let (llvm_lib = "librustllvm.so") {
|
|
|
|
mod llvm;
|
2010-08-18 13:34:22 -05:00
|
|
|
}
|
|
|
|
}
|
2010-08-16 15:02:46 -05:00
|
|
|
}
|
2010-07-12 19:47:40 -05:00
|
|
|
}
|
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
// Local Variables:
|
|
|
|
// fill-column: 78;
|
|
|
|
// indent-tabs-mode: nil
|
2010-08-18 13:34:22 -05:00
|
|
|
// c-basic-offset: 4
|
2010-06-23 23:03:09 -05:00
|
|
|
// buffer-file-coding-system: utf-8-unix
|
|
|
|
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
|
|
|
// End:
|