rust/src/librustc/rustc.rc

294 lines
6.0 KiB
Plaintext
Raw Normal View History

2012-11-18 19:56:50 -06:00
// DIVERT
2010-06-23 23:03:09 -05:00
// -*- rust -*-
#[link(name = "rustc",
2012-10-12 18:41:25 -05:00
vers = "0.5",
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
#[legacy_modes];
#[legacy_exports];
#[allow(vecs_implicitly_copyable)];
#[allow(non_camel_case_types)];
#[allow(deprecated_mode)];
#[allow(deprecated_pattern)];
2012-10-12 18:41:25 -05:00
extern mod core(vers = "0.5");
extern mod std(vers = "0.5");
extern mod syntax(vers = "0.5");
2012-04-05 19:30:26 -05:00
2012-09-05 13:46:25 -05:00
use 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.
*/
2012-09-05 13:46:25 -05:00
use util_ = util;
use lib_ = lib;
use driver_ = driver;
use middle_ = middle;
use back_ = back;
2011-04-19 18:40:46 -05:00
mod middle {
#[legacy_exports];
mod trans {
#[legacy_exports];
#[legacy_exports]
mod inline;
#[legacy_exports]
mod monomorphize;
#[legacy_exports]
mod controlflow;
#[legacy_exports]
mod glue;
#[legacy_exports]
mod datum;
#[legacy_exports]
mod callee;
#[legacy_exports]
mod expr;
#[legacy_exports]
mod common;
#[legacy_exports]
mod consts;
#[legacy_exports]
mod type_of;
#[legacy_exports]
mod build;
#[legacy_exports]
mod base;
#[legacy_exports]
mod alt;
#[legacy_exports]
mod uniq;
#[legacy_exports]
mod closure;
#[legacy_exports]
mod tvec;
#[legacy_exports]
mod meth;
#[legacy_exports]
mod foreign;
#[legacy_exports]
mod reflect;
#[legacy_exports]
2012-02-14 22:12:47 -06:00
mod shape;
#[legacy_exports]
2012-02-17 15:51:19 -06:00
mod debuginfo;
#[legacy_exports]
mod type_use;
#[legacy_exports]
mod reachable;
mod machine;
mod deriving;
}
#[legacy_exports]
2011-04-19 18:40:46 -05:00
mod ty;
#[legacy_exports]
2012-08-29 15:26:26 -05:00
mod resolve;
pub mod typeck {
#[legacy_exports];
#[legacy_exports]
pub mod check {
#[legacy_exports]
mod alt;
#[legacy_exports]
2012-05-16 10:01:41 -05:00
mod vtable;
#[legacy_exports]
2012-05-16 10:01:41 -05:00
mod writeback;
#[legacy_exports]
mod regionmanip;
#[legacy_exports]
2012-05-16 10:01:41 -05:00
mod regionck;
#[legacy_exports]
2012-05-16 10:01:41 -05:00
mod demand;
#[legacy_exports]
pub mod method;
}
#[legacy_exports]
mod rscope;
#[legacy_exports]
mod astconv;
mod infer {
#[legacy_exports];
#[legacy_exports]
mod assignment;
#[legacy_exports]
mod combine;
#[legacy_exports]
mod glb;
#[legacy_exports]
mod integral;
mod floating;
#[legacy_exports]
mod lattice;
#[legacy_exports]
mod lub;
#[legacy_exports]
mod region_inference;
#[legacy_exports]
mod resolve;
#[legacy_exports]
mod sub;
#[legacy_exports]
mod to_str;
#[legacy_exports]
mod unify;
#[cfg(test)]
#[legacy_exports]
mod test;
}
#[legacy_exports]
mod collect;
#[legacy_exports]
mod coherence;
mod deriving;
}
#[legacy_exports]
mod check_loop;
#[legacy_exports]
mod check_alt;
#[legacy_exports]
mod check_const;
#[legacy_exports]
mod lint;
mod borrowck {
#[legacy_exports];
#[legacy_exports]
mod check_loans;
#[legacy_exports]
mod gather_loans;
#[legacy_exports]
mod loan;
#[legacy_exports]
mod preserve;
}
#[legacy_exports]
mod mem_categorization;
#[legacy_exports]
mod liveness;
#[legacy_exports]
mod kind;
#[legacy_exports]
2011-07-18 19:26:37 -05:00
mod freevars;
#[legacy_exports]
mod capture;
#[legacy_exports]
mod pat_util;
#[legacy_exports]
2012-03-09 18:39:54 -06:00
mod region;
#[legacy_exports]
mod const_eval;
#[legacy_exports]
mod astencode;
#[legacy_exports]
mod lang_items;
#[legacy_exports]
mod privacy;
2011-04-19 18:40:46 -05:00
}
mod front {
#[legacy_exports];
#[legacy_exports]
mod config;
#[legacy_exports]
mod test;
#[legacy_exports]
mod core_inject;
#[legacy_exports]
mod intrinsic_inject;
2010-06-23 23:03:09 -05:00
}
mod back {
#[legacy_exports];
#[legacy_exports]
mod link;
#[legacy_exports]
mod abi;
#[legacy_exports]
mod upcall;
#[legacy_exports]
mod x86;
#[legacy_exports]
mod x86_64;
#[legacy_exports]
2011-10-04 17:23:32 -05:00
mod rpath;
#[legacy_exports]
mod target_strs;
}
mod metadata {
#[legacy_exports];
export encoder;
export creader;
export cstore;
export csearch;
export common;
export decoder;
export tyencode;
export tydecode;
export loader;
export filesearch;
#[legacy_exports]
mod common;
#[legacy_exports]
mod tyencode;
#[legacy_exports]
mod tydecode;
#[legacy_exports]
mod encoder;
#[legacy_exports]
mod decoder;
#[legacy_exports]
mod creader;
#[legacy_exports]
mod cstore;
#[legacy_exports]
mod csearch;
#[legacy_exports]
mod loader;
#[legacy_exports]
mod filesearch;
}
2010-06-23 23:03:09 -05:00
mod driver {
#[legacy_exports];
#[legacy_exports]
mod driver;
#[legacy_exports]
mod session;
2010-06-23 23:03:09 -05:00
}
2010-08-18 13:34:47 -05:00
mod util {
#[legacy_exports];
#[legacy_exports]
2010-08-18 13:34:47 -05:00
mod common;
#[legacy_exports]
mod ppaux;
2010-08-18 13:34:47 -05:00
}
2010-07-12 19:47:40 -05:00
mod lib {
#[legacy_exports];
#[legacy_exports]
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: