]> git.proxmox.com Git - rustc.git/blame - src/librustc_back/lib.rs
Imported Upstream version 1.0.0~0alpha
[rustc.git] / src / librustc_back / lib.rs
CommitLineData
1a4d82fc
JJ
1// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2// file at the top-level directory of this distribution and at
3// http://rust-lang.org/COPYRIGHT.
4//
5// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8// option. This file may not be copied, modified, or distributed
9// except according to those terms.
10
11//! Some stuff used by rustc that doesn't have many dependencies
12//!
13//! Originally extracted from rustc::back, which was nominally the
14//! compiler 'backend', though LLVM is rustc's backend, so rustc_back
15//! is really just odds-and-ends relating to code gen and linking.
16//! This crate mostly exists to make rustc smaller, so we might put
17//! more 'stuff' here in the future. It does not have a dependency on
18//! rustc_llvm.
19//!
20//! FIXME: Split this into two crates: one that has deps on syntax, and
21//! one that doesn't; the one that doesn't might get decent parallel
22//! build speedups.
23
24#![crate_name = "rustc_back"]
25#![unstable]
26#![staged_api]
27#![crate_type = "dylib"]
28#![crate_type = "rlib"]
29#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
30 html_favicon_url = "http://www.rust-lang.org/favicon.ico",
31 html_root_url = "http://doc.rust-lang.org/nightly/")]
32#![allow(unknown_features)]
33#![feature(slicing_syntax, box_syntax)]
34#![allow(unknown_features)] #![feature(int_uint)]
35
36extern crate syntax;
37extern crate serialize;
38#[macro_use] extern crate log;
39
40pub mod abi;
41pub mod archive;
42pub mod arm;
43pub mod fs;
44pub mod mips;
45pub mod mipsel;
46pub mod rpath;
47pub mod sha2;
48pub mod svh;
49pub mod target_strs;
50pub mod x86;
51pub mod x86_64;
52pub mod target;