1 //! Some stuff used by rustc that doesn't have many dependencies
3 //! Originally extracted from rustc::back, which was nominally the
4 //! compiler 'backend', though LLVM is rustc's backend, so rustc_target
5 //! is really just odds-and-ends relating to code gen and linking.
6 //! This crate mostly exists to make rustc smaller, so we might put
7 //! more 'stuff' here in the future. It does not have a dependency on
10 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
11 html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
12 html_root_url = "https://doc.rust-lang.org/nightly/")]
14 #![feature(box_syntax)]
16 #![feature(rustc_attrs)]
17 #![feature(slice_patterns)]
18 #![feature(step_trait)]
21 extern crate bitflags;
22 extern crate serialize;
23 #[macro_use] extern crate log;
25 extern crate serialize as rustc_serialize; // used by deriving
27 // See librustc_cratesio_shim/Cargo.toml for a comment explaining this.
28 #[allow(unused_extern_crates)]
29 extern crate rustc_cratesio_shim;
32 extern crate rustc_data_structures;