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