rust/src/rustc/rustc.rc

141 lines
2.3 KiB
Plaintext
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
#[link(name = "rustc",
2012-03-22 17:25:02 -05:00
vers = "0.2",
uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf",
url = "https://github.com/mozilla/rust/tree/master/src/rustc")];
#[comment = "The Rust compiler"];
#[license = "MIT"];
#[crate_type = "lib"];
2011-05-05 21:44:00 -05:00
2012-04-05 19:30:26 -05:00
#[no_core];
2010-06-23 23:03:09 -05:00
2012-04-05 19:30:26 -05:00
use core(vers = "0.2");
use std(vers = "0.2");
use rustsyntax(vers = "0.2");
import core::*;
2012-03-22 17:27:35 -05:00
/*
Alternate names for some modules.
I am using this to help extract metadata into its own crate. In metadata.rs
it redefines all these modules in order to gate access from metadata to the
rest of the compiler, then uses these to access the original implementation.
*/
import util_ = util;
import lib_ = lib;
import driver_ = driver;
import middle_ = middle;
2011-04-19 18:40:46 -05:00
mod middle {
mod trans {
mod common;
mod type_of;
mod build;
mod base;
mod alt;
mod uniq;
mod closure;
mod tvec;
mod impl;
mod native;
2012-02-14 22:12:47 -06:00
mod shape;
2012-02-17 15:51:19 -06:00
mod debuginfo;
mod type_use;
mod reachable;
}
2011-04-19 18:40:46 -05:00
mod ty;
2012-03-22 22:06:01 -05:00
mod infer;
mod ast_map;
2011-04-19 18:40:46 -05:00
mod resolve;
mod typeck;
mod check_loop;
mod check_alt;
mod check_const;
mod lint;
mod borrowck;
mod alias;
mod last_use;
mod block_use;
mod kind;
2011-07-18 19:26:37 -05:00
mod freevars;
mod capture;
mod pat_util;
2012-03-09 18:39:54 -06:00
mod region;
mod regionck;
mod const_eval;
mod tstate {
mod ck;
mod annotate;
#[path = "auxiliary.rs"]
mod aux;
mod bitvectors;
mod collect_locals;
mod pre_post_conditions;
mod states;
mod ann;
mod tritv;
}
2011-04-19 18:40:46 -05:00
}
2012-03-29 15:48:05 -05:00
mod syntax;
2011-04-19 18:40:46 -05:00
mod front {
mod config;
mod test;
mod core_inject;
mod intrinsic_inject;
2010-06-23 23:03:09 -05:00
}
mod back {
mod link;
mod abi;
mod upcall;
mod x86;
mod x86_64;
2011-10-04 17:23:32 -05:00
mod rpath;
mod target_strs;
}
mod metadata {
export encoder;
export creader;
export cstore;
export csearch;
mod common;
mod tyencode;
mod tydecode;
mod astencode;
mod encoder;
mod decoder;
mod creader;
mod cstore;
mod csearch;
}
2010-06-23 23:03:09 -05:00
mod driver {
mod driver;
mod session;
2010-06-23 23:03:09 -05:00
}
2010-08-18 13:34:47 -05:00
mod util {
mod common;
mod ppaux;
mod filesearch;
2010-08-18 13:34:47 -05:00
}
2010-07-12 19:47:40 -05:00
mod lib {
mod llvm;
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
// End: