2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
// -*- rust -*-
|
|
|
|
|
2011-05-05 21:44:00 -05:00
|
|
|
meta (name = "rustc",
|
|
|
|
desc = "The Rust compiler",
|
|
|
|
uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf",
|
|
|
|
url = "http://rust-lang.org/src/rustc",
|
|
|
|
ver = "0.0.1");
|
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
use std;
|
|
|
|
|
2011-04-19 18:40:46 -05:00
|
|
|
mod middle {
|
|
|
|
mod trans;
|
|
|
|
mod ty;
|
2011-04-20 05:35:34 -05:00
|
|
|
mod walk;
|
2011-04-19 18:40:46 -05:00
|
|
|
mod metadata;
|
|
|
|
mod resolve;
|
|
|
|
mod typeck;
|
2011-05-16 21:21:29 -05:00
|
|
|
|
2011-05-14 21:02:30 -05:00
|
|
|
mod tstate {
|
|
|
|
mod ck;
|
|
|
|
mod annotate;
|
2011-05-16 21:21:29 -05:00
|
|
|
mod aux = "auxiliary.rs";
|
2011-05-14 21:02:30 -05:00
|
|
|
mod bitvectors;
|
|
|
|
mod collect_locals;
|
|
|
|
mod pre_post_conditions;
|
|
|
|
mod states;
|
|
|
|
mod ann;
|
|
|
|
}
|
2011-04-19 18:40:46 -05:00
|
|
|
}
|
|
|
|
|
2011-05-14 21:02:30 -05:00
|
|
|
|
2011-04-19 18:40:46 -05:00
|
|
|
mod pretty {
|
|
|
|
mod pprust;
|
|
|
|
mod pp;
|
|
|
|
}
|
|
|
|
|
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-06-04 14:41:45 -05:00
|
|
|
mod ext;
|
2011-02-23 22:48:01 -06:00
|
|
|
mod extfmt;
|
2011-05-04 21:05:16 -05:00
|
|
|
mod extenv;
|
2011-04-08 11:44:20 -05:00
|
|
|
mod codemap;
|
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 back {
|
2011-05-13 15:47:37 -05:00
|
|
|
mod link;
|
2010-09-23 17:46:31 -05:00
|
|
|
mod abi;
|
2011-05-09 17:32:12 -05:00
|
|
|
mod upcall;
|
2010-09-23 17:46:31 -05:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2010-08-18 13:34:47 -05:00
|
|
|
mod util {
|
|
|
|
mod common;
|
2011-05-20 15:57:09 -05:00
|
|
|
mod data;
|
2010-08-18 13:34:47 -05:00
|
|
|
}
|
|
|
|
|
2011-05-12 10:24:54 -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-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
|
|
|
}
|
|
|
|
}
|
2011-05-13 14:30:08 -05:00
|
|
|
case (_) {
|
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
|
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:
|