rust/src/comp/rustc.rc

83 lines
1.3 KiB
Plaintext
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
use std;
2011-04-19 18:40:46 -05:00
mod middle {
mod trans;
mod ty;
mod fold;
mod walk;
2011-04-19 18:40:46 -05:00
mod metadata;
mod resolve;
mod capture;
mod typeck;
mod typestate_check;
}
mod pretty {
mod pprust;
mod pp;
}
mod front {
2010-08-12 12:27:50 -05:00
mod ast;
mod creader;
2011-02-23 22:48:01 -06:00
mod extfmt;
mod extenv;
mod codemap;
2010-06-23 23:03:09 -05:00
mod lexer;
mod parser;
2010-08-18 13:35:12 -05:00
mod token;
mod eval;
2010-06-23 23:03:09 -05:00
}
mod back {
mod abi;
mod x86;
}
2010-06-23 23:03:09 -05:00
mod driver {
mod rustc;
mod session;
2010-06-23 23:03:09 -05:00
}
2010-08-18 13:34:47 -05:00
mod util {
mod common;
mod typestate_ann;
2010-08-18 13:34:47 -05:00
}
auth front.creader.load_crate = unsafe;
auth front.creader.get_metadata_section = unsafe;
auth middle.metadata = unsafe;
auth middle.trans = unsafe;
auth lib.llvm = unsafe;
2010-07-12 19:47:40 -05:00
mod lib {
2010-08-18 13:34:22 -05:00
alt (target_os) {
case ("win32") {
let (llvm_lib = "rustllvm.dll") {
mod llvm;
2010-08-18 13:34:22 -05:00
}
}
case ("macos") {
let (llvm_lib = "librustllvm.dylib") {
mod llvm;
2010-08-18 13:34:22 -05:00
}
}
else {
let (llvm_lib = "librustllvm.so") {
mod llvm;
2010-08-18 13:34:22 -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
2011-03-31 09:41:35 -05:00
// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
2010-06-23 23:03:09 -05:00
// End: